Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.001426/0.001426, allocations: 81.55 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001483/0.001483, allocations: 160.3 kB / 23.01 MB, free: 4.945 MB / 14.72 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.469/1.469, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04936/0.04936, allocations: 7.54 MB / 267.3 MB, free: 9.574 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.91 kB / 392.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1235, allocations: 54.91 MB / 447.6 MB, free: 4.637 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.0223/0.1458, allocations: 16.28 MB / 463.9 MB, free: 4.289 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.304/0.4498, allocations: 28.57 MB / 492.5 MB, free: 42.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.4501, allocations: 0 / 492.5 MB, free: 42.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.4513, allocations: 374.8 kB / 492.9 MB, free: 42.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005287/0.4518, allocations: 145.8 kB / 493 MB, free: 42.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02406/0.4759, allocations: 10.01 MB / 0.4912 GB, free: 41.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.4764, allocations: 390.3 kB / 0.4916 GB, free: 41.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.527e-05/0.4764, allocations: 14.42 kB / 0.4916 GB, free: 41.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.4768, allocations: 184.5 kB / 0.4918 GB, free: 41.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.477, allocations: 124.6 kB / 0.4919 GB, free: 41.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.477, allocations: 13.09 kB / 0.4919 GB, free: 41.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0156/0.4926, allocations: 8.136 MB / 0.4999 GB, free: 40.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.4928, allocations: 41.66 kB / 0.4999 GB, free: 40.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.493, allocations: 94.52 kB / 0.5 GB, free: 40.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.5063, allocations: 4.168 MB / 0.5041 GB, free: 39.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5063, allocations: 0 / 0.5041 GB, free: 39.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5063, allocations: 0 / 0.5041 GB, free: 39.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.5063, allocations: 0 / 0.5041 GB, free: 39.69 MB / 446.1 MB 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.002647/0.509, allocations: 1.102 MB / 0.5051 GB, free: 38.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.509, allocations: 10.69 kB / 0.5051 GB, free: 38.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007589/0.5098, allocations: 92.89 kB / 0.5052 GB, free: 38.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.51, allocations: 184.9 kB / 0.5054 GB, free: 38.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.51, allocations: 8.625 kB / 0.5054 GB, free: 38.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.5101, allocations: 5.75 kB / 0.5054 GB, free: 38.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006003/0.5107, allocations: 319.9 kB / 0.5057 GB, free: 38.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.5107, allocations: 1.062 kB / 0.5057 GB, free: 38.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.5107, allocations: 5.125 kB / 0.5057 GB, free: 38.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.5107, allocations: 5.172 kB / 0.5057 GB, free: 38.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/0.5113, allocations: 236.4 kB / 0.506 GB, free: 38.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007637/0.5121, allocations: 0.8376 MB / 0.5068 GB, free: 37.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.5126, allocations: 220.7 kB / 0.507 GB, free: 37.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.5129, allocations: 140.3 kB / 0.5071 GB, free: 37.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07056/0.5835, allocations: 14.61 MB / 0.5214 GB, free: 36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.5835, allocations: 37.91 kB / 0.5214 GB, free: 35.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 4.128e-06/0.5835, allocations: 2.906 kB / 0.5214 GB, free: 35.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001692/0.5852, allocations: 481.5 kB / 0.5219 GB, free: 35.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.5853, allocations: 135 kB / 0.522 GB, free: 35.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.5855, allocations: 186.4 kB / 0.5222 GB, free: 35.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.5855, allocations: 26.95 kB / 0.5222 GB, free: 35.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.5856, allocations: 123 kB / 0.5223 GB, free: 35.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/0.5856, allocations: 90.69 kB / 0.5224 GB, free: 35.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.92e-05/0.5857, allocations: 54.98 kB / 0.5225 GB, free: 35.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5858, allocations: 329.4 kB / 0.5228 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.5861, allocations: 113.1 kB / 0.5229 GB, free: 34.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.5864, allocations: 162.1 kB / 0.5231 GB, free: 34.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005639/0.5869, allocations: 297.8 kB / 0.5233 GB, free: 34.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.587, allocations: 1.281 kB / 0.5233 GB, free: 34.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006923/0.5876, allocations: 329.2 kB / 0.5237 GB, free: 34.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.5877, allocations: 4.688 kB / 0.5237 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5877, allocations: 2.219 kB / 0.5237 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.5877, allocations: 2.312 kB / 0.5237 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.5879, allocations: 49.81 kB / 0.5237 GB, free: 34.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.5879, allocations: 5.281 kB / 0.5237 GB, free: 34.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.5882, allocations: 31.33 kB / 0.5238 GB, free: 34.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.5882, allocations: 9.844 kB / 0.5238 GB, free: 34.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001068/0.5883, allocations: 139.2 kB / 0.5239 GB, free: 34.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.813e-05/0.5884, allocations: 22.67 kB / 0.5239 GB, free: 34.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006434/0.589, allocations: 383.6 kB / 0.5243 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.589, allocations: 7.219 kB / 0.5243 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.589, allocations: 4.391 kB / 0.5243 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5891, allocations: 0.9688 kB / 0.5243 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.5895, allocations: 243.6 kB / 0.5245 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.5895, allocations: 1.125 kB / 0.5245 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.5897, allocations: 40.36 kB / 0.5246 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5897, allocations: 9.406 kB / 0.5246 GB, free: 33.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.5897, allocations: 9.703 kB / 0.5246 GB, free: 33.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.5897, allocations: 1.438 kB / 0.5246 GB, free: 33.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5897, allocations: 1.25 kB / 0.5246 GB, free: 33.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/0.5905, allocations: 0.6619 MB / 0.5252 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.5905, allocations: 23.36 kB / 0.5253 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.5906, allocations: 1.469 kB / 0.5253 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.5909, allocations: 22.72 kB / 0.5253 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.591, allocations: 21.77 kB / 0.5253 GB, free: 33.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.591, allocations: 6.141 kB / 0.5253 GB, free: 33.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.87e-05/0.591, allocations: 127.6 kB / 0.5254 GB, free: 33.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.591, allocations: 1.312 kB / 0.5254 GB, free: 33.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0024/0.5934, allocations: 0.8105 MB / 0.5262 GB, free: 33.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003727/0.5972, allocations: 1.199 MB / 0.5274 GB, free: 32.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007757/0.598, allocations: 275.4 kB / 0.5277 GB, free: 32.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.598, allocations: 384 / 0.5277 GB, free: 32.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.5983, allocations: 151.6 kB / 0.5278 GB, free: 32.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009119/0.5992, allocations: 101.1 kB / 0.5279 GB, free: 32.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007653/0.6, allocations: 495.3 kB / 0.5284 GB, free: 32.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.6001, allocations: 132 kB / 0.5285 GB, free: 32.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.6002, allocations: 47.89 kB / 0.5285 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.6003, allocations: 32.36 kB / 0.5286 GB, free: 32.33 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6003, allocations: 0 / 0.5286 GB, free: 32.33 MB / 446.1 MB Notification: Performance of Templates: time 0.03254/0.6328, allocations: 24.32 MB / 0.5523 GB, free: 14.39 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.307864011032507] Failed to read output from testmodel.py, exit status != 0: 0.6411669680383056 0.6509214839999999 0.142102547 Calling exit ...