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.0009107/0.0009107, allocations: 88.23 kB / 19.64 MB, free: 308 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.0009714/0.0009714, allocations: 168.9 kB / 23.02 MB, free: 1.57 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.9758/0.9758, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.7894/0.7894, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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.993e-06/1.993e-06, allocations: 0.7656 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.595e-05/3.794e-05, allocations: 4 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005635/0.005673, allocations: 4.859 MB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002494/0.008168, allocations: 2.825 MB / 0.5278 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.008303, allocations: 4 kB / 0.5279 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.008591, allocations: 52.62 kB / 0.5279 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.008865, allocations: 100 kB / 0.528 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.01017, allocations: 0.5732 MB / 0.5286 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.01046, allocations: 251.8 kB / 0.5288 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.01051, allocations: 15.28 kB / 0.5288 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.01073, allocations: 163.5 kB / 0.529 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.01087, allocations: 79.77 kB / 0.529 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.0109, allocations: 9.594 kB / 0.5291 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.01151, allocations: 323.2 kB / 0.5294 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-05/0.01159, allocations: 43.81 kB / 0.5294 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.294e-05/0.01166, allocations: 59.89 kB / 0.5295 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.01224, allocations: 363.9 kB / 0.5298 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.01224, allocations: 0 / 0.5298 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.382e-06/0.01224, allocations: 0 / 0.5298 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.01225, allocations: 0.6562 kB / 0.5298 GB, free: 8.496 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.0006776/0.01293, allocations: 0.5394 MB / 0.5303 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.01297, allocations: 8.031 kB / 0.5303 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.01314, allocations: 45.27 kB / 0.5304 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.01334, allocations: 159.6 kB / 0.5305 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.01336, allocations: 12.7 kB / 0.5306 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.01338, allocations: 20.38 kB / 0.5306 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.01372, allocations: 434.1 kB / 0.531 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.01373, allocations: 192 / 0.531 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.01375, allocations: 12.12 kB / 0.531 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.01378, allocations: 4 kB / 0.531 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.01404, allocations: 302 kB / 0.5313 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009323/0.01497, allocations: 0.9869 MB / 0.5323 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.0152, allocations: 143.2 kB / 0.5324 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.01526, allocations: 43.67 kB / 0.5324 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005224/0.01579, allocations: 0.5358 MB / 0.533 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.01581, allocations: 38.92 kB / 0.533 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.01581, allocations: 0 / 0.533 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002355/0.01605, allocations: 135.7 kB / 0.5331 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.01608, allocations: 51.41 kB / 0.5332 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.01618, allocations: 219.8 kB / 0.5334 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.0162, allocations: 25.7 kB / 0.5334 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.01627, allocations: 190.8 kB / 0.5336 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.01631, allocations: 63.5 kB / 0.5336 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.01636, allocations: 59.36 kB / 0.5337 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.01648, allocations: 0.4985 MB / 0.5342 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4e-05/0.01652, allocations: 23.98 kB / 0.5342 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.01662, allocations: 174.9 kB / 0.5344 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.0168, allocations: 226 kB / 0.5346 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.0168, allocations: 0 / 0.5346 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002168/0.01702, allocations: 208.1 kB / 0.5348 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.01704, allocations: 11.98 kB / 0.5348 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.01705, allocations: 4.969 kB / 0.5348 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.01706, allocations: 4 kB / 0.5348 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.01718, allocations: 56.55 kB / 0.5349 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.01719, allocations: 15.92 kB / 0.5349 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/0.01726, allocations: 28.34 kB / 0.5349 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.01727, allocations: 8.656 kB / 0.5349 GB, free: 2.836 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 8.664e-05/0.01736, allocations: 181 kB / 0.5351 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.01739, allocations: 23.91 kB / 0.5351 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.01761, allocations: 139.2 kB / 0.5352 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.01762, allocations: 0 / 0.5352 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01762, allocations: 2.531 kB / 0.5352 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01763, allocations: 3.984 kB / 0.5353 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.01779, allocations: 172.4 kB / 0.5354 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01779, allocations: 0 / 0.5354 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.01786, allocations: 31.92 kB / 0.5354 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.01786, allocations: 0 / 0.5354 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.01787, allocations: 4 kB / 0.5355 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01787, allocations: 1.688 kB / 0.5355 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.01788, allocations: 4 kB / 0.5355 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.01806, allocations: 254.1 kB / 0.5357 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.01811, allocations: 31.81 kB / 0.5357 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.01812, allocations: 12.98 kB / 0.5357 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.01821, allocations: 4 kB / 0.5357 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.01823, allocations: 16.7 kB / 0.5358 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.01825, allocations: 15.98 kB / 0.5358 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.0183, allocations: 160.5 kB / 0.5359 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.0183, allocations: 0 / 0.5359 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002887/0.01859, allocations: 83.86 kB / 0.536 GB, free: 1.66 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.0002708/0.01886, allocations: 175.4 kB / 0.5362 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.01905, allocations: 122.7 kB / 0.5363 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01905, allocations: 0 / 0.5363 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.199e-05/0.0191, allocations: 46.14 kB / 0.5363 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.01937, allocations: 52.97 kB / 0.5364 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007879/0.02015, allocations: 321.8 kB / 0.5367 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.822e-05/0.0202, allocations: 75.58 kB / 0.5368 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.0203, allocations: 32.08 kB / 0.5368 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.02034, allocations: 30.22 kB / 0.5368 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/0.02034, allocations: 0 / 0.5368 GB, free: 0.7891 MB / 0.4948 GB Notification: Performance of Templates: time 0.005489/0.02583, allocations: 3.455 MB / 0.5402 GB, free: 13.52 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.783176540862769]