Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.002264/0.002264, allocations: 93.47 kB / 19.44 MB, free: 336 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.002607/0.002607, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.744/1.744, allocations: 177.1 MB / 203.1 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] 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 1.343/1.343, allocations: 154.6 MB / 414.1 MB, free: 0.6367 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 178] 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.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.5197 GB, free: 2.465 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.554e-05, allocations: 4.562 kB / 0.5197 GB, free: 2.461 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.007173/0.007209, allocations: 4.164 MB / 0.5237 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004122/0.01133, allocations: 2.54 MB / 0.5262 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.01144, allocations: 0 / 0.5262 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.0118, allocations: 52.17 kB / 0.5263 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.01218, allocations: 104.8 kB / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.01407, allocations: 0.5506 MB / 0.5269 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004943/0.01456, allocations: 279.6 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.01462, allocations: 9.797 kB / 0.5272 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.01495, allocations: 161.9 kB / 0.5273 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.01516, allocations: 79.77 kB / 0.5274 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.01519, allocations: 8 kB / 0.5274 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.01631, allocations: 403.1 kB / 0.5278 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.01642, allocations: 43.83 kB / 0.5279 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.01654, allocations: 59.89 kB / 0.5279 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008675/0.0174, allocations: 443.4 kB / 0.5283 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.01741, allocations: 3.938 kB / 0.5283 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.144e-06/0.01741, allocations: 0.9062 kB / 0.5283 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.01742, allocations: 0 / 0.5283 GB, free: 9.602 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.001102/0.01852, allocations: 0.5429 MB / 0.5289 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.01857, allocations: 11.47 kB / 0.5289 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.02066, allocations: 240.1 kB / 0.5291 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.02105, allocations: 156.3 kB / 0.5293 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.02108, allocations: 12.7 kB / 0.5293 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.02113, allocations: 23.25 kB / 0.5293 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008791/0.02201, allocations: 0.5105 MB / 0.5298 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.02202, allocations: 192 / 0.5298 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.02206, allocations: 12.12 kB / 0.5298 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.02209, allocations: 8 kB / 0.5298 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006782/0.02277, allocations: 243.6 kB / 0.53 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.02517, allocations: 1.635 MB / 0.5316 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/0.02588, allocations: 201 kB / 0.5318 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.02609, allocations: 67.66 kB / 0.5319 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.02613, allocations: 4 kB / 0.5319 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.02619, allocations: 49.31 kB / 0.532 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.02619, allocations: 0 / 0.532 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0008301/0.02702, allocations: 237.4 kB / 0.5322 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.02707, allocations: 57.84 kB / 0.5322 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.02731, allocations: 208.2 kB / 0.5324 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.02735, allocations: 33.7 kB / 0.5325 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.0275, allocations: 175 kB / 0.5326 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.02757, allocations: 75.36 kB / 0.5327 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.02769, allocations: 59.53 kB / 0.5328 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000285/0.02797, allocations: 0.4923 MB / 0.5332 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.02817, allocations: 65.58 kB / 0.5333 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.02848, allocations: 165.5 kB / 0.5335 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.02899, allocations: 258 kB / 0.5337 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.029, allocations: 0 / 0.5337 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006179/0.02961, allocations: 251.7 kB / 0.5339 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.02964, allocations: 12.56 kB / 0.534 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.02965, allocations: 0 / 0.534 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.02967, allocations: 4.625 kB / 0.534 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.03005, allocations: 76.41 kB / 0.534 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.03006, allocations: 5.5 kB / 0.534 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.03029, allocations: 23.84 kB / 0.5341 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.03032, allocations: 11.98 kB / 0.5341 GB, free: 3.324 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.0001735/0.03049, allocations: 173.6 kB / 0.5342 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.03057, allocations: 27.88 kB / 0.5343 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006514/0.03122, allocations: 232.3 kB / 0.5345 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.03122, allocations: 0 / 0.5345 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.03122, allocations: 0 / 0.5345 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.03123, allocations: 0 / 0.5345 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.03156, allocations: 190.6 kB / 0.5347 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.03156, allocations: 0 / 0.5347 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.03188, allocations: 51.95 kB / 0.5347 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.03188, allocations: 0 / 0.5347 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.0319, allocations: 7.938 kB / 0.5347 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.03191, allocations: 0.5 kB / 0.5347 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.03191, allocations: 0 / 0.5347 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006607/0.03257, allocations: 358.6 kB / 0.5351 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.03267, allocations: 23.86 kB / 0.5351 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.03272, allocations: 11.94 kB / 0.5351 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.03295, allocations: 9.719 kB / 0.5351 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.033, allocations: 15.92 kB / 0.5351 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.03303, allocations: 12 kB / 0.5351 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000131/0.03316, allocations: 146.1 kB / 0.5353 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.03316, allocations: 1.281 kB / 0.5353 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004148/0.03358, allocations: 71.94 kB / 0.5353 GB, free: 1.961 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.0003127/0.03389, allocations: 138 kB / 0.5355 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005719/0.03446, allocations: 193.2 kB / 0.5357 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.03446, allocations: 2.281 kB / 0.5357 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.03469, allocations: 95.56 kB / 0.5358 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.03529, allocations: 74.3 kB / 0.5358 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.03635, allocations: 368.1 kB / 0.5362 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.03648, allocations: 103.1 kB / 0.5363 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002707/0.03675, allocations: 54.2 kB / 0.5363 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/0.03684, allocations: 24.48 kB / 0.5364 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of SimCode: time 1.162e-06/0.03684, allocations: 4 kB / 0.5364 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of Templates: time 0.009685/0.04653, allocations: 3.473 MB / 0.5397 GB, free: 13.66 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.5803371539805084]