Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009432/0.0009435, allocations: 91.77 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007093/0.007093, allocations: 170.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04753/0.04753, allocations: 9.069 MB / 279.8 MB, free: 12.14 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009661/0.0009662, allocations: 12.69 kB / 339.7 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1355, allocations: 49.19 MB / 388.9 MB, free: 8.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.0212/0.1567, allocations: 17.85 MB / 406.8 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0209/0.1777, allocations: 17.79 MB / 424.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003608/0.1781, allocations: 4 kB / 424.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.1792, allocations: 267.1 kB / 424.8 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000714/0.1799, allocations: 210.7 kB / 425 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2966/0.4765, allocations: 5.991 MB / 431 MB, free: 16.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006811/0.4772, allocations: 341.6 kB / 431.4 MB, free: 16.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.4773, allocations: 19.88 kB / 431.4 MB, free: 16.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.4776, allocations: 149.7 kB / 431.5 MB, free: 16.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.4778, allocations: 96.8 kB / 431.6 MB, free: 16.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.4779, allocations: 7.312 kB / 431.6 MB, free: 16.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02231/0.5002, allocations: 9.689 MB / 441.3 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.212e-05/0.5003, allocations: 23.95 kB / 441.3 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003385/0.5006, allocations: 123.4 kB / 441.5 MB, free: 16.47 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01652/0.5172, allocations: 4.313 MB / 445.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5172, allocations: 3.344 kB / 445.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.5172, allocations: 0 / 445.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.5172, allocations: 0 / 445.8 MB, free: 15.5 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.003645/0.5209, allocations: 1.09 MB / 446.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.521, allocations: 11.59 kB / 446.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.521, allocations: 18.59 kB / 446.9 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.5212, allocations: 195 kB / 447.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.5212, allocations: 5.656 kB / 447.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.5212, allocations: 8.312 kB / 447.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.5217, allocations: 178.8 kB / 447.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.5217, allocations: 0 / 447.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.5217, allocations: 4.938 kB / 447.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.5217, allocations: 9.422 kB / 447.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.5222, allocations: 183.7 kB / 447.5 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.5225, allocations: 289.2 kB / 447.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.5229, allocations: 199.5 kB / 447.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.5232, allocations: 168.5 kB / 448.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1476/0.6708, allocations: 91.75 MB / 0.5272 GB, free: 8.621 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.6709, allocations: 42.55 kB / 0.5272 GB, free: 8.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.114e-06/0.6709, allocations: 0 / 0.5272 GB, free: 8.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.001188/0.6721, allocations: 0.5046 MB / 0.5277 GB, free: 8.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.6722, allocations: 55.41 kB / 0.5278 GB, free: 8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.6723, allocations: 141.8 kB / 0.5279 GB, free: 7.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.6723, allocations: 29.7 kB / 0.528 GB, free: 7.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.6724, allocations: 93.12 kB / 0.528 GB, free: 7.727 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.6725, allocations: 145.6 kB / 0.5282 GB, free: 7.586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.6726, allocations: 33.7 kB / 0.5282 GB, free: 7.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.6727, allocations: 330.8 kB / 0.5285 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.673, allocations: 132.4 kB / 0.5287 GB, free: 7.086 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.6732, allocations: 134.1 kB / 0.5288 GB, free: 6.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/0.6738, allocations: 318.4 kB / 0.5291 GB, free: 6.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6738, allocations: 0 / 0.5291 GB, free: 6.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006766/0.6745, allocations: 361.1 kB / 0.5294 GB, free: 6.285 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.6745, allocations: 4 kB / 0.5294 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6745, allocations: 0 / 0.5294 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.6745, allocations: 8 kB / 0.5294 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.6747, allocations: 27.97 kB / 0.5295 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.6747, allocations: 0 / 0.5295 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.6749, allocations: 36.3 kB / 0.5295 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.6749, allocations: 4 kB / 0.5295 GB, free: 6.207 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.000112/0.675, allocations: 133.7 kB / 0.5296 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.6751, allocations: 23.7 kB / 0.5297 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008106/0.6759, allocations: 428.8 kB / 0.5301 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.6759, allocations: 11.98 kB / 0.5301 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.6759, allocations: 0 / 0.5301 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.6759, allocations: 0.875 kB / 0.5301 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.6762, allocations: 292.8 kB / 0.5304 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6762, allocations: 4 kB / 0.5304 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.6764, allocations: 35.97 kB / 0.5304 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.6764, allocations: 2.062 kB / 0.5304 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.6764, allocations: 0 / 0.5304 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.6764, allocations: 4 kB / 0.5304 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6764, allocations: 4 kB / 0.5304 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007704/0.6772, allocations: 405.3 kB / 0.5308 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.6773, allocations: 112.7 kB / 0.5309 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.6773, allocations: 3.938 kB / 0.5309 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.6775, allocations: 23.98 kB / 0.5309 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.6776, allocations: 14.38 kB / 0.5309 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.6776, allocations: 15.66 kB / 0.531 GB, free: 4.648 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.018e-05/0.6777, allocations: 99.27 kB / 0.531 GB, free: 4.551 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6777, allocations: 0 / 0.531 GB, free: 4.551 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00472/0.6824, allocations: 1.116 MB / 0.5321 GB, free: 3.434 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (state.phase,state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.005683/0.6881, allocations: 1.673 MB / 0.5338 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000901/0.689, allocations: 323.3 kB / 0.5341 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.6891, allocations: 0 / 0.5341 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.6894, allocations: 180.3 kB / 0.5343 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009707/0.6904, allocations: 160.1 kB / 0.5344 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000951/0.6914, allocations: 0.5094 MB / 0.5349 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.6918, allocations: 0.7293 MB / 0.5356 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.6919, allocations: 16.42 kB / 0.5356 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.6919, allocations: 23.44 kB / 0.5357 GB, free: 15.94 MB / 430.1 MB Notification: Performance of SimCode: time 2.124e-06/0.6919, allocations: 0 / 0.5357 GB, free: 15.94 MB / 430.1 MB Notification: Performance of Templates: time 0.04523/0.7372, allocations: 30.33 MB / 0.5653 GB, free: 1.703 MB / 446.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1) Environment - environmentSimulation: