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.001101/0.001101, allocations: 100 kB / 15.05 MB, free: 1.105 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.001214/0.001214, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04795/0.04795, allocations: 9.064 MB / 279.4 MB, free: 12.15 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.000502/0.000502, allocations: 16.22 kB / 339.1 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1104, allocations: 49.19 MB / 388.3 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01715/0.1276, allocations: 15.11 MB / 403.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01548/0.1431, allocations: 14.94 MB / 418.3 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.1435, allocations: 3.938 kB / 418.3 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008808/0.1444, allocations: 251.1 kB / 418.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006288/0.1451, allocations: 219.4 kB / 418.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01832/0.1634, allocations: 5.884 MB / 424.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.1639, allocations: 247.4 kB / 424.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.2e-05/0.164, allocations: 20.59 kB / 424.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004119/0.1644, allocations: 187.4 kB / 425.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.1646, allocations: 87.64 kB / 425.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1646, allocations: 4 kB / 425.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2796/0.4442, allocations: 9.566 MB / 434.8 MB, free: 17.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/0.4444, allocations: 22.12 kB / 434.8 MB, free: 17.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.4445, allocations: 66.39 kB / 434.9 MB, free: 17.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.4547, allocations: 2.579 MB / 437.4 MB, free: 17.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4548, allocations: 0 / 437.4 MB, free: 17.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.4548, allocations: 1.156 kB / 437.4 MB, free: 17.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.4548, allocations: 2.344 kB / 437.4 MB, free: 17.82 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.004974/0.4598, allocations: 1.084 MB / 438.5 MB, free: 17.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.4598, allocations: 9.625 kB / 438.5 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.4599, allocations: 17.03 kB / 438.6 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.4601, allocations: 200.6 kB / 438.7 MB, free: 16.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.4602, allocations: 2.656 kB / 438.8 MB, free: 16.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.4602, allocations: 7.688 kB / 438.8 MB, free: 16.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.4607, allocations: 177.5 kB / 438.9 MB, free: 16.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4607, allocations: 1.594 kB / 438.9 MB, free: 16.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.4607, allocations: 5.375 kB / 438.9 MB, free: 16.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.4607, allocations: 10.03 kB / 438.9 MB, free: 16.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000489/0.4612, allocations: 184.3 kB / 439.1 MB, free: 16.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.4616, allocations: 286 kB / 439.4 MB, free: 16.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.4619, allocations: 194.4 kB / 439.6 MB, free: 16.65 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1521/0.6141, allocations: 92.01 MB / 0.5191 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.6142, allocations: 30.56 kB / 0.5192 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 4.398e-06/0.6142, allocations: 3.75 kB / 0.5192 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.001532/0.6157, allocations: 0.9798 MB / 0.5201 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.6158, allocations: 54.66 kB / 0.5202 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.6159, allocations: 140.4 kB / 0.5203 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.616, allocations: 28.7 kB / 0.5204 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.616, allocations: 92.56 kB / 0.5204 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.6162, allocations: 158.1 kB / 0.5206 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/0.6162, allocations: 0 / 0.5206 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6163, allocations: 329.1 kB / 0.5209 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.6166, allocations: 129.4 kB / 0.521 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.6169, allocations: 132 kB / 0.5212 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.6172, allocations: 160.4 kB / 0.5213 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6172, allocations: 0 / 0.5213 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000648/0.6178, allocations: 347.2 kB / 0.5216 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.6179, allocations: 6.344 kB / 0.5216 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.6179, allocations: 0 / 0.5216 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.6179, allocations: 11.95 kB / 0.5217 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.6181, allocations: 35.16 kB / 0.5217 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.6181, allocations: 0 / 0.5217 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.6184, allocations: 31.73 kB / 0.5217 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.6185, allocations: 7.984 kB / 0.5217 GB, free: 14.18 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.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 initialization (12): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001848/0.6186, allocations: 128.2 kB / 0.5218 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.6187, allocations: 19.72 kB / 0.5219 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009369/0.6196, allocations: 437.7 kB / 0.5223 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/0.6197, allocations: 10.31 kB / 0.5223 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.6197, allocations: 0 / 0.5223 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.6197, allocations: 0 / 0.5223 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.6202, allocations: 289.7 kB / 0.5226 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6202, allocations: 4 kB / 0.5226 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.6204, allocations: 27.98 kB / 0.5226 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.6204, allocations: 3.953 kB / 0.5226 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.6204, allocations: 3.984 kB / 0.5226 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.6204, allocations: 7.375 kB / 0.5226 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6204, allocations: 0 / 0.5226 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008103/0.6212, allocations: 390.3 kB / 0.523 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.6214, allocations: 121.8 kB / 0.5231 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.6215, allocations: 8.031 kB / 0.5231 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.6216, allocations: 19.97 kB / 0.5231 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.6217, allocations: 15.55 kB / 0.5231 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.6218, allocations: 4 kB / 0.5231 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.764e-05/0.6219, allocations: 102.2 kB / 0.5232 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6219, allocations: 2.734 kB / 0.5232 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004915/0.6268, allocations: 1.112 MB / 0.5243 GB, free: 11.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008093/0.6349, allocations: 1.672 MB / 0.526 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000834/0.6358, allocations: 319.4 kB / 0.5263 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.6358, allocations: 0 / 0.5263 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.6361, allocations: 180.5 kB / 0.5264 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009186/0.637, allocations: 154.8 kB / 0.5266 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009565/0.638, allocations: 0.4992 MB / 0.5271 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.6383, allocations: 0.7371 MB / 0.5278 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.6385, allocations: 16.42 kB / 0.5278 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.6385, allocations: 15.44 kB / 0.5278 GB, free: 8.531 MB / 414.1 MB Notification: Performance of SimCode: time 1.593e-06/0.6385, allocations: 1.531 kB / 0.5278 GB, free: 8.531 MB / 414.1 MB Notification: Performance of Templates: time 0.05223/0.6908, allocations: 30.06 MB / 0.5572 GB, free: 10.67 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: