Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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.001068/0.001068, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001223/0.001223, allocations: 169.7 kB / 23.27 MB, free: 1.219 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 1.023/1.023, allocations: 177.1 MB / 203.7 MB, free: 5.477 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-545:108: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-545:116: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.8434/0.8434, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5208 GB, free: 1.887 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.507e-05/3.692e-05, allocations: 6.312 kB / 0.5208 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.009462/0.009499, allocations: 4.834 MB / 0.5255 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003396/0.01289, allocations: 2.808 MB / 0.5283 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.01306, allocations: 0.6562 kB / 0.5283 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003951/0.01346, allocations: 51.64 kB / 0.5283 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.01385, allocations: 106.7 kB / 0.5284 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.01609, allocations: 0.5748 MB / 0.529 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000393/0.01648, allocations: 249.1 kB / 0.5292 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.574e-05/0.01654, allocations: 9.812 kB / 0.5292 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.01686, allocations: 163.5 kB / 0.5294 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.01703, allocations: 76.47 kB / 0.5294 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.01707, allocations: 8 kB / 0.5295 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000842/0.01791, allocations: 332.2 kB / 0.5298 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.01801, allocations: 43.81 kB / 0.5298 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.638e-05/0.01808, allocations: 62.66 kB / 0.5299 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000631/0.01871, allocations: 362.8 kB / 0.5302 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.01872, allocations: 0 / 0.5302 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.954e-06/0.01872, allocations: 0 / 0.5302 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.01873, allocations: 0 / 0.5302 GB, free: 8.238 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009027/0.01963, allocations: 0.5387 MB / 0.5307 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/0.01969, allocations: 12.03 kB / 0.5308 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.01992, allocations: 43.36 kB / 0.5308 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.02019, allocations: 160.3 kB / 0.5309 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.02022, allocations: 12.7 kB / 0.531 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.02026, allocations: 20.38 kB / 0.531 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.02072, allocations: 418.1 kB / 0.5314 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.02074, allocations: 192 / 0.5314 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.02076, allocations: 14.03 kB / 0.5314 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.785e-05/0.02081, allocations: 4 kB / 0.5314 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.02115, allocations: 252.1 kB / 0.5316 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.02233, allocations: 0.9726 MB / 0.5326 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.02261, allocations: 127.8 kB / 0.5327 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.836e-05/0.02268, allocations: 36.38 kB / 0.5327 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008604/0.02354, allocations: 0.544 MB / 0.5333 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.02358, allocations: 41.38 kB / 0.5333 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 4.068e-06/0.02359, allocations: 5.109 kB / 0.5333 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0003262/0.02391, allocations: 121.5 kB / 0.5334 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.02396, allocations: 51.41 kB / 0.5335 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.02412, allocations: 214.5 kB / 0.5337 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.02415, allocations: 29.69 kB / 0.5337 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.02429, allocations: 199.4 kB / 0.5339 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.02434, allocations: 55.52 kB / 0.534 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.02441, allocations: 56.09 kB / 0.534 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.02463, allocations: 0.5039 MB / 0.5345 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/0.02467, allocations: 17.52 kB / 0.5345 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.02483, allocations: 172.8 kB / 0.5347 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.02507, allocations: 215.6 kB / 0.5349 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.02507, allocations: 4 kB / 0.5349 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000313/0.02538, allocations: 198.7 kB / 0.5351 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.02541, allocations: 8 kB / 0.5351 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.02542, allocations: 5.312 kB / 0.5351 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.02544, allocations: 4 kB / 0.5351 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.02562, allocations: 63.91 kB / 0.5352 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.02563, allocations: 8.562 kB / 0.5352 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.02574, allocations: 28.31 kB / 0.5352 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.02575, allocations: 8 kB / 0.5352 GB, free: 2.707 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001244/0.02588, allocations: 177.4 kB / 0.5354 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.02593, allocations: 24.84 kB / 0.5354 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000527/0.02646, allocations: 126.4 kB / 0.5355 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.02647, allocations: 4 kB / 0.5355 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.02648, allocations: 2.625 kB / 0.5355 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.02648, allocations: 3.984 kB / 0.5355 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.0267, allocations: 145 kB / 0.5357 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.0267, allocations: 0 / 0.5357 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.0268, allocations: 31.92 kB / 0.5357 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.02681, allocations: 0 / 0.5357 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.02682, allocations: 4 kB / 0.5357 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.02682, allocations: 1.969 kB / 0.5357 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.02682, allocations: 4 kB / 0.5357 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.02709, allocations: 252.8 kB / 0.5359 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.02716, allocations: 35.81 kB / 0.536 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.02718, allocations: 0 / 0.536 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.02732, allocations: 12.72 kB / 0.536 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.02734, allocations: 11.97 kB / 0.536 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.02737, allocations: 12.84 kB / 0.536 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.138e-05/0.02745, allocations: 154.6 kB / 0.5362 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02745, allocations: 5.812 kB / 0.5362 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000479/0.02793, allocations: 75.88 kB / 0.5362 GB, free: 1.594 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 0.0005359/0.02846, allocations: 187.2 kB / 0.5364 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.02871, allocations: 99.42 kB / 0.5365 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.02871, allocations: 4 kB / 0.5365 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.02875, allocations: 45.41 kB / 0.5366 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.02909, allocations: 48.34 kB / 0.5366 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008696/0.02996, allocations: 325.6 kB / 0.5369 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.074e-05/0.03001, allocations: 75.58 kB / 0.537 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.03013, allocations: 37.47 kB / 0.537 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.03031, allocations: 154 kB / 0.5372 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of SimCode: time 1.563e-06/0.03031, allocations: 1.594 kB / 0.5372 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of Templates: time 0.005542/0.03585, allocations: 3.434 MB / 0.5405 GB, free: 13.32 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.895573674235493]