Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001406/0.001406, allocations: 88.72 kB / 19.44 MB, free: 356 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.001872/0.001872, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.204/1.204, allocations: 154.8 MB / 414.4 MB, free: 460 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 0.5199 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.04e-05/4.285e-05, allocations: 12.42 kB / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.008394/0.008437, allocations: 3.884 MB / 0.5237 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004213/0.01265, allocations: 2.226 MB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.01276, allocations: 5.625 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.01307, allocations: 39.7 kB / 0.5259 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.01344, allocations: 108.2 kB / 0.526 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.01523, allocations: 0.5569 MB / 0.5266 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.01562, allocations: 270.5 kB / 0.5268 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.01567, allocations: 9.797 kB / 0.5268 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.01598, allocations: 163.5 kB / 0.527 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.01615, allocations: 79.77 kB / 0.5271 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.01619, allocations: 8 kB / 0.5271 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008887/0.01707, allocations: 407 kB / 0.5275 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.249e-05/0.01717, allocations: 41.17 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.01727, allocations: 67.88 kB / 0.5276 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000755/0.01803, allocations: 438.6 kB / 0.528 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.01803, allocations: 0 / 0.528 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01803, allocations: 0.5 kB / 0.528 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.01804, allocations: 2.031 kB / 0.528 GB, free: 10.01 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.0008876/0.01893, allocations: 445.4 kB / 0.5284 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.01897, allocations: 12.03 kB / 0.5284 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.02115, allocations: 256.8 kB / 0.5287 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.02154, allocations: 157.5 kB / 0.5288 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.02156, allocations: 12.7 kB / 0.5288 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.02161, allocations: 20.38 kB / 0.5289 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008719/0.02249, allocations: 0.4957 MB / 0.5293 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.0225, allocations: 6.625 kB / 0.5293 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.02254, allocations: 8.125 kB / 0.5294 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.02256, allocations: 11.94 kB / 0.5294 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.02327, allocations: 242.6 kB / 0.5296 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.0251, allocations: 1.179 MB / 0.5307 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.02582, allocations: 182.8 kB / 0.5309 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.02606, allocations: 65.47 kB / 0.531 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.02609, allocations: 8.781 kB / 0.531 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.02613, allocations: 42.5 kB / 0.531 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.02613, allocations: 1.469 kB / 0.531 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0008707/0.027, allocations: 246.9 kB / 0.5313 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.02705, allocations: 55.41 kB / 0.5313 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.0272, allocations: 141.4 kB / 0.5315 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.02724, allocations: 29.7 kB / 0.5315 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.02735, allocations: 136.2 kB / 0.5316 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/0.02743, allocations: 72.61 kB / 0.5317 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.923e-05/0.02752, allocations: 49.88 kB / 0.5317 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.0277, allocations: 326.8 kB / 0.532 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.02793, allocations: 65.14 kB / 0.5321 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.02822, allocations: 145 kB / 0.5322 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.02874, allocations: 216.4 kB / 0.5324 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02874, allocations: 0 / 0.5324 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006718/0.02941, allocations: 264.2 kB / 0.5327 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.02943, allocations: 5.5 kB / 0.5327 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.02944, allocations: 4 kB / 0.5327 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.02947, allocations: 4 kB / 0.5327 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.02987, allocations: 69.23 kB / 0.5328 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.02988, allocations: 4 kB / 0.5328 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.03013, allocations: 32.7 kB / 0.5328 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.03016, allocations: 11.98 kB / 0.5328 GB, free: 4.738 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001581/0.03032, allocations: 131.1 kB / 0.5329 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.03039, allocations: 19.89 kB / 0.533 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006869/0.03108, allocations: 232.2 kB / 0.5332 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.03108, allocations: 4 kB / 0.5332 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.03109, allocations: 2.219 kB / 0.5332 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.03109, allocations: 0 / 0.5332 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.0314, allocations: 177.1 kB / 0.5334 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.0314, allocations: 0 / 0.5334 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.03174, allocations: 49.36 kB / 0.5334 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.03175, allocations: 4 kB / 0.5334 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.03177, allocations: 7.938 kB / 0.5334 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.03177, allocations: 0 / 0.5334 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.03177, allocations: 6.531 kB / 0.5334 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.0324, allocations: 300.7 kB / 0.5337 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-05/0.03249, allocations: 27.86 kB / 0.5337 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.03252, allocations: 7.938 kB / 0.5338 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.03281, allocations: 17.33 kB / 0.5338 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.03285, allocations: 7.984 kB / 0.5338 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.03288, allocations: 17.89 kB / 0.5338 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.02e-05/0.03297, allocations: 97.61 kB / 0.5339 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.03297, allocations: 0 / 0.5339 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004056/0.03337, allocations: 75.89 kB / 0.534 GB, free: 3.527 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 (20): * Single equations (assignments): 20 * 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 0.0002818/0.03366, allocations: 142.6 kB / 0.5341 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006044/0.03426, allocations: 173.8 kB / 0.5343 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.03426, allocations: 3.25 kB / 0.5343 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.0345, allocations: 83.84 kB / 0.5343 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.03507, allocations: 80.19 kB / 0.5344 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.03611, allocations: 366.2 kB / 0.5348 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.03623, allocations: 100.5 kB / 0.5349 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002717/0.0365, allocations: 54.39 kB / 0.5349 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.03662, allocations: 28.48 kB / 0.5349 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.03662, allocations: 2.562 kB / 0.5349 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of Templates: time 0.008439/0.04506, allocations: 3.452 MB / 0.5383 GB, free: 15.27 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.234100657980889]