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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.002351/0.002351, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.06376/0.06376, allocations: 9.093 MB / 25.82 MB, free: 3.422 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.1 MB / 233.2 MB, free: 14.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009924/0.0009925, allocations: 104.7 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 55.92 kB / 341.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.268, allocations: 48.15 MB / 389.2 MB, free: 38.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01604/0.2841, allocations: 18.37 MB / 407.6 MB, free: 20.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.2976, allocations: 17.99 MB / 425.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003224/0.2979, allocations: 4 kB / 425.6 MB, free: 2.055 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008205/0.2988, allocations: 272.9 kB / 425.8 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.2994, allocations: 198.8 kB / 426 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01861/0.318, allocations: 5.989 MB / 432 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006284/0.3186, allocations: 346.1 kB / 432.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.3187, allocations: 16.3 kB / 432.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000371/0.3191, allocations: 155.2 kB / 432.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.3193, allocations: 99.56 kB / 432.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.3193, allocations: 7.938 kB / 432.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01896/0.3383, allocations: 9.689 MB / 442.3 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.3384, allocations: 19.92 kB / 442.3 MB, free: 1.246 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.3387, allocations: 99.47 kB / 442.4 MB, free: 1.148 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.3527, allocations: 4.322 MB / 446.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3528, allocations: 0 / 446.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3528, allocations: 0 / 446.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3528, allocations: 4 kB / 446.8 MB, free: 12.81 MB / 330.7 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.003194/0.356, allocations: 1.091 MB / 447.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.356, allocations: 8.031 kB / 447.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.3561, allocations: 19.75 kB / 447.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.3563, allocations: 194.6 kB / 448.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3563, allocations: 8 kB / 448.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.3563, allocations: 4 kB / 448.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.3568, allocations: 176.2 kB / 448.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3568, allocations: 0 / 448.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3568, allocations: 3.984 kB / 448.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.3568, allocations: 11.98 kB / 448.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/0.3572, allocations: 156.3 kB / 448.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.3575, allocations: 298.1 kB / 448.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.3579, allocations: 182.9 kB / 448.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.3582, allocations: 153.7 kB / 449.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4012/0.7594, allocations: 93.61 MB / 0.5299 GB, free: 96.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.7595, allocations: 38.03 kB / 0.53 GB, free: 96.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=48): time 3.827e-06/0.7595, allocations: 0.5 kB / 0.53 GB, free: 96.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.000963/0.7604, allocations: 472.2 kB / 0.5304 GB, free: 95.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.7605, allocations: 55.41 kB / 0.5305 GB, free: 95.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.46e-05/0.7606, allocations: 141.5 kB / 0.5306 GB, free: 95.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.7606, allocations: 29.69 kB / 0.5306 GB, free: 95.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.7606, allocations: 89.14 kB / 0.5307 GB, free: 95.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/0.7607, allocations: 149.2 kB / 0.5309 GB, free: 95.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.7608, allocations: 52.22 kB / 0.5309 GB, free: 95.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.7609, allocations: 326.8 kB / 0.5312 GB, free: 95.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.7611, allocations: 120.4 kB / 0.5313 GB, free: 94.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.7613, allocations: 123.8 kB / 0.5315 GB, free: 94.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.7618, allocations: 287.7 kB / 0.5317 GB, free: 94.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7618, allocations: 3.656 kB / 0.5317 GB, free: 94.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005304/0.7623, allocations: 331.9 kB / 0.5321 GB, free: 94.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.7624, allocations: 4 kB / 0.5321 GB, free: 94.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.7624, allocations: 6.797 kB / 0.5321 GB, free: 94.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.7624, allocations: 4 kB / 0.5321 GB, free: 94.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.7626, allocations: 27.8 kB / 0.5321 GB, free: 94.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.7626, allocations: 0 / 0.5321 GB, free: 94.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.7627, allocations: 31.75 kB / 0.5321 GB, free: 94.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.7627, allocations: 0 / 0.5321 GB, free: 94.17 MB / 394.7 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 8.9e-05/0.7628, allocations: 125.8 kB / 0.5323 GB, free: 94.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.7629, allocations: 23.56 kB / 0.5323 GB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006807/0.7636, allocations: 415.7 kB / 0.5327 GB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.7636, allocations: 7.984 kB / 0.5327 GB, free: 93.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7636, allocations: 4 kB / 0.5327 GB, free: 93.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7636, allocations: 3.984 kB / 0.5327 GB, free: 93.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.7638, allocations: 285.6 kB / 0.533 GB, free: 93.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7638, allocations: 2.531 kB / 0.533 GB, free: 93.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.7639, allocations: 23.97 kB / 0.533 GB, free: 93.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.764, allocations: 3.094 kB / 0.533 GB, free: 93.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.764, allocations: 4 kB / 0.533 GB, free: 93.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.764, allocations: 3.938 kB / 0.533 GB, free: 93.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.764, allocations: 0 / 0.533 GB, free: 93.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.765, allocations: 1.093 MB / 0.5341 GB, free: 92.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.88e-05/0.7651, allocations: 116.7 kB / 0.5342 GB, free: 91.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.7651, allocations: 3.938 kB / 0.5342 GB, free: 91.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.7653, allocations: 23.92 kB / 0.5342 GB, free: 91.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.7653, allocations: 11.98 kB / 0.5342 GB, free: 91.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.7654, allocations: 4.672 kB / 0.5342 GB, free: 91.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.376e-05/0.7654, allocations: 107.2 kB / 0.5343 GB, free: 91.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7654, allocations: 0 / 0.5343 GB, free: 91.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002901/0.7683, allocations: 1.131 MB / 0.5354 GB, free: 90.84 MB / 394.7 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.004188/0.7725, allocations: 1.673 MB / 0.5371 GB, free: 89.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000638/0.7732, allocations: 295.3 kB / 0.5373 GB, free: 89.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7732, allocations: 4 kB / 0.5373 GB, free: 89.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.7735, allocations: 166.5 kB / 0.5375 GB, free: 88.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.7744, allocations: 158.8 kB / 0.5377 GB, free: 88.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008311/0.7752, allocations: 0.7492 MB / 0.5384 GB, free: 87.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.7754, allocations: 0.7526 MB / 0.5391 GB, free: 87.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.7755, allocations: 19.94 kB / 0.5391 GB, free: 87.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.7755, allocations: 19.44 kB / 0.5392 GB, free: 87.14 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7755, allocations: 0 / 0.5392 GB, free: 87.14 MB / 394.7 MB Notification: Performance of Templates: time 0.04763/0.8232, allocations: 30.49 MB / 0.5689 GB, free: 56.65 MB / 394.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.makefile (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)