Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007394/0.0007394, allocations: 76.45 kB / 19.91 MB, free: 20 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007192/0.0007192, allocations: 169.9 kB / 23.18 MB, free: 1.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8489/0.8489, allocations: 177.2 MB / 203.6 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6819/0.6819, allocations: 154.7 MB / 414.7 MB, free: 0.7227 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009327/0.0009327, allocations: 71.89 kB / 0.6195 GB, free: 13.14 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3779, allocations: 102 MB / 0.7191 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001207/0.3791, allocations: 0.608 MB / 0.7197 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006358/0.3797, allocations: 0.8476 MB / 0.7205 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.3797, allocations: 0 / 0.7205 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.3798, allocations: 0.5 kB / 0.7205 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.344e-05/0.3798, allocations: 5.469 kB / 0.7205 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.3799, allocations: 14.06 kB / 0.7205 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.513e-05/0.38, allocations: 24.58 kB / 0.7205 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.093e-05/0.3801, allocations: 8.766 kB / 0.7206 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.077e-05/0.3802, allocations: 16.59 kB / 0.7206 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.3802, allocations: 13.75 kB / 0.7206 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3802, allocations: 6.656 kB / 0.7206 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.3802, allocations: 2.344 kB / 0.7206 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.3803, allocations: 6.469 kB / 0.7206 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.3803, allocations: 7.734 kB / 0.7206 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 7.876e-05/0.3804, allocations: 39.72 kB / 0.7206 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3804, allocations: 0 / 0.7206 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3804, allocations: 0 / 0.7206 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3804, allocations: 0.5625 kB / 0.7206 GB, free: 22.51 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003149/0.3807, allocations: 261.5 kB / 0.7209 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3807, allocations: 9.344 kB / 0.7209 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.3808, allocations: 6.656 kB / 0.7209 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.755e-05/0.3808, allocations: 110 kB / 0.721 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3808, allocations: 2.438 kB / 0.721 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.3808, allocations: 1.625 kB / 0.721 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.381, allocations: 55.11 kB / 0.7211 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.381, allocations: 4.172 kB / 0.7211 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.381, allocations: 8.453 kB / 0.7211 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.381, allocations: 1.125 kB / 0.7211 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.681e-05/0.3811, allocations: 42.56 kB / 0.7211 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.3813, allocations: 192.9 kB / 0.7213 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.238e-05/0.3814, allocations: 38.12 kB / 0.7213 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.3814, allocations: 24.92 kB / 0.7214 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3815, allocations: 5.031 kB / 0.7214 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.3815, allocations: 32.28 kB / 0.7214 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3815, allocations: 0 / 0.7214 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002344/0.3817, allocations: 91.3 kB / 0.7215 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.3817, allocations: 53.28 kB / 0.7215 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.152e-05/0.3818, allocations: 101 kB / 0.7216 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-06/0.3818, allocations: 26.36 kB / 0.7217 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.3818, allocations: 82.27 kB / 0.7217 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.3818, allocations: 5.328 kB / 0.7217 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.3818, allocations: 17.73 kB / 0.7218 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.723e-05/0.3819, allocations: 313 kB / 0.7221 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.3819, allocations: 23.16 kB / 0.7221 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.235e-05/0.382, allocations: 15.95 kB / 0.7221 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.769e-05/0.382, allocations: 46.56 kB / 0.7221 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.382, allocations: 3.938 kB / 0.7221 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001111/0.3822, allocations: 73.73 kB / 0.7222 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3822, allocations: 5.406 kB / 0.7222 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3822, allocations: 0 / 0.7222 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3822, allocations: 1.062 kB / 0.7222 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.3823, allocations: 10.41 kB / 0.7222 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3823, allocations: 0 / 0.7222 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.3823, allocations: 14.47 kB / 0.7222 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.3823, allocations: 1.219 kB / 0.7222 GB, free: 21.02 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.3823, allocations: 112.8 kB / 0.7224 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.3823, allocations: 6.094 kB / 0.7224 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.456e-05/0.3824, allocations: 13.27 kB / 0.7224 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3824, allocations: 0 / 0.7224 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3824, allocations: 1 kB / 0.7224 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3824, allocations: 0.7969 kB / 0.7224 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.778e-05/0.3824, allocations: 109.5 kB / 0.7225 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3824, allocations: 0 / 0.7225 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.3825, allocations: 13.47 kB / 0.7225 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.3825, allocations: 3.938 kB / 0.7225 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3825, allocations: 1.922 kB / 0.7225 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.3825, allocations: 3.938 kB / 0.7225 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3825, allocations: 5.641 kB / 0.7225 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.3826, allocations: 162.2 kB / 0.7227 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.3826, allocations: 5.703 kB / 0.7227 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-06/0.3826, allocations: 0 / 0.7227 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.073e-05/0.3826, allocations: 7.406 kB / 0.7227 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.3827, allocations: 9.219 kB / 0.7227 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.3827, allocations: 0 / 0.7227 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.382e-05/0.3827, allocations: 81.62 kB / 0.7228 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3827, allocations: 4.031 kB / 0.7228 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001448/0.3829, allocations: 3.562 kB / 0.7228 GB, free: 20.53 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.828e-05/0.3829, allocations: 101.5 kB / 0.7229 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.383, allocations: 41.58 kB / 0.7229 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.383, allocations: 1.125 kB / 0.7229 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.028e-05/0.3831, allocations: 21.66 kB / 0.7229 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.3833, allocations: 9.141 kB / 0.7229 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/0.3835, allocations: 143.5 kB / 0.7231 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.3835, allocations: 60.23 kB / 0.7231 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.3836, allocations: 10.77 kB / 0.7231 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of SimCode: time 4.41e-07/0.3836, allocations: 0 / 0.7231 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of Templates: time 0.001437/0.385, allocations: 0.6206 MB / 0.7237 GB, free: 20.16 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.171129045076668] Failed to read output from testmodel.py, exit status != 0: 0.39034951594658196 0.39837250900000004 0.016327987000000002 Calling exit ...