Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.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_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00217/0.00217, allocations: 183.2 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.07873/0.07873, allocations: 9.097 MB / 25.83 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.591/1.591, allocations: 205.1 MB / 233.2 MB, free: 14.17 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.001049/0.001049, allocations: 107.5 kB / 282.1 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 51.92 kB / 341.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2729, allocations: 48.16 MB / 389.2 MB, free: 38.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01628/0.2892, allocations: 18.36 MB / 407.6 MB, free: 20.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.3023, allocations: 17.98 MB / 425.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.3027, allocations: 4 kB / 425.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008616/0.3036, allocations: 272.9 kB / 425.8 MB, free: 1.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005581/0.3042, allocations: 206.8 kB / 426 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01987/0.3241, allocations: 5.991 MB / 432 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005039/0.3246, allocations: 342.2 kB / 432.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.553e-05/0.3246, allocations: 16.25 kB / 432.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002921/0.3249, allocations: 151.3 kB / 432.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.3251, allocations: 99.56 kB / 432.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3252, allocations: 7.938 kB / 432.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01731/0.3425, allocations: 9.693 MB / 442.3 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.999e-05/0.3426, allocations: 23.91 kB / 442.4 MB, free: 1.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.3428, allocations: 91.5 kB / 442.4 MB, free: 1.141 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01594/0.3588, allocations: 4.33 MB / 446.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.3589, allocations: 0 / 446.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3589, allocations: 0 / 446.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.3589, allocations: 0 / 446.8 MB, free: 12.8 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.003432/0.3623, allocations: 1.099 MB / 447.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.3624, allocations: 8.031 kB / 447.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.3625, allocations: 15.81 kB / 447.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.3627, allocations: 190.6 kB / 448.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.3627, allocations: 8 kB / 448.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.3627, allocations: 4 kB / 448.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.3632, allocations: 168.2 kB / 448.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3632, allocations: 3.938 kB / 448.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3632, allocations: 0 / 448.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.3632, allocations: 11.98 kB / 448.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.3637, allocations: 160.3 kB / 448.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006897/0.3644, allocations: 485.2 kB / 448.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.3647, allocations: 166.9 kB / 449.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.365, allocations: 153.7 kB / 449.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4018/0.7668, allocations: 93.61 MB / 0.5301 GB, free: 71.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.7669, allocations: 34.17 kB / 0.5301 GB, free: 71.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 2.855e-06/0.7669, allocations: 0 / 0.5301 GB, free: 71.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.001088/0.768, allocations: 473 kB / 0.5306 GB, free: 71.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.768, allocations: 54.09 kB / 0.5306 GB, free: 71.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.7681, allocations: 140.7 kB / 0.5308 GB, free: 71.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.7681, allocations: 29.27 kB / 0.5308 GB, free: 71.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.7682, allocations: 90.05 kB / 0.5309 GB, free: 71.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.235e-05/0.7683, allocations: 151 kB / 0.531 GB, free: 71.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.7684, allocations: 42.7 kB / 0.5311 GB, free: 71.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.7685, allocations: 332.7 kB / 0.5314 GB, free: 70.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.7687, allocations: 120.5 kB / 0.5315 GB, free: 70.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.7689, allocations: 117 kB / 0.5316 GB, free: 70.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/0.7695, allocations: 289.5 kB / 0.5319 GB, free: 70.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.7695, allocations: 0 / 0.5319 GB, free: 70.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005811/0.7701, allocations: 328.4 kB / 0.5322 GB, free: 70.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.7701, allocations: 6.906 kB / 0.5322 GB, free: 70.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.7701, allocations: 0 / 0.5322 GB, free: 70.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.7702, allocations: 0 / 0.5322 GB, free: 70.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.7703, allocations: 24.83 kB / 0.5322 GB, free: 70.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.7703, allocations: 0 / 0.5322 GB, free: 70.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.7705, allocations: 33.61 kB / 0.5323 GB, free: 70.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.7705, allocations: 3.438 kB / 0.5323 GB, free: 70.76 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 (11): * Single equations (assignments): 5 * 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 9.212e-05/0.7706, allocations: 128.5 kB / 0.5324 GB, free: 70.65 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.7707, allocations: 14.94 kB / 0.5324 GB, free: 70.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007537/0.7714, allocations: 413.5 kB / 0.5328 GB, free: 70.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.7715, allocations: 5.344 kB / 0.5328 GB, free: 70.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.7715, allocations: 0 / 0.5328 GB, free: 70.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.7715, allocations: 7.219 kB / 0.5328 GB, free: 70.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.7718, allocations: 291.8 kB / 0.5331 GB, free: 70.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7718, allocations: 0 / 0.5331 GB, free: 70.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.7719, allocations: 26.88 kB / 0.5331 GB, free: 70.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7719, allocations: 4 kB / 0.5331 GB, free: 70.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.7719, allocations: 0 / 0.5331 GB, free: 70.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.7719, allocations: 0 / 0.5331 GB, free: 70.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7719, allocations: 7.062 kB / 0.5331 GB, free: 70.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.7733, allocations: 1.157 MB / 0.5343 GB, free: 69.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.7733, allocations: 115.7 kB / 0.5344 GB, free: 69.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.7734, allocations: 0.8438 kB / 0.5344 GB, free: 69.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.7735, allocations: 23.73 kB / 0.5344 GB, free: 69.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.7736, allocations: 7.938 kB / 0.5344 GB, free: 69.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.7736, allocations: 8.188 kB / 0.5344 GB, free: 69.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.248e-05/0.7737, allocations: 102.8 kB / 0.5345 GB, free: 69.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7737, allocations: 0 / 0.5345 GB, free: 69.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003424/0.7771, allocations: 1.129 MB / 0.5356 GB, free: 69.4 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 (11): * Single equations (assignments): 5 * 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.004928/0.7821, allocations: 1.685 MB / 0.5373 GB, free: 69.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007286/0.7828, allocations: 287.9 kB / 0.5375 GB, free: 69.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.7828, allocations: 0 / 0.5375 GB, free: 69.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.7831, allocations: 170.4 kB / 0.5377 GB, free: 69.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/0.7841, allocations: 152 kB / 0.5378 GB, free: 69.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000806/0.7849, allocations: 0.7264 MB / 0.5386 GB, free: 68.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.7851, allocations: 0.7425 MB / 0.5393 GB, free: 67.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.7852, allocations: 20.17 kB / 0.5393 GB, free: 67.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.7852, allocations: 15.44 kB / 0.5393 GB, free: 67.83 MB / 394.7 MB Notification: Performance of SimCode: time 2e-07/0.7852, allocations: 0 / 0.5393 GB, free: 67.83 MB / 394.7 MB Notification: Performance of Templates: time 0.03783/0.8231, allocations: 30.48 MB / 0.5691 GB, free: 38.24 MB / 394.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1)