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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008357/0.0008357, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.001232/0.001232, allocations: 172.6 kB / 16.26 MB, free: 6.656 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.797/1.797, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0496/0.0496, allocations: 9.067 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.0006011/0.0006011, allocations: 16.22 kB / 339.7 MB, free: 25.63 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1129, allocations: 49.19 MB / 388.9 MB, free: 8.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02126/0.1343, allocations: 17.85 MB / 406.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01886/0.1532, allocations: 17.8 MB / 424.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.1535, allocations: 8 kB / 424.6 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008049/0.1543, allocations: 271 kB / 424.8 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005529/0.1548, allocations: 202.8 kB / 425 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3022/0.457, allocations: 5.987 MB / 431 MB, free: 16.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.4576, allocations: 342.5 kB / 431.4 MB, free: 16.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.805e-05/0.4577, allocations: 15.78 kB / 431.4 MB, free: 16.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003619/0.4581, allocations: 152.9 kB / 431.5 MB, free: 16.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.4583, allocations: 92.95 kB / 431.6 MB, free: 16.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.4584, allocations: 6.531 kB / 431.6 MB, free: 16.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02513/0.4835, allocations: 9.695 MB / 441.3 MB, free: 16.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.4836, allocations: 19.7 kB / 441.3 MB, free: 16.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003436/0.484, allocations: 122.3 kB / 441.5 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01831/0.5023, allocations: 4.317 MB / 445.8 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5024, allocations: 1.344 kB / 445.8 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.5024, allocations: 0 / 445.8 MB, free: 15.03 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.5024, allocations: 0 / 445.8 MB, free: 15.03 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.004171/0.5066, allocations: 1.09 MB / 446.9 MB, free: 14.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5066, allocations: 13.83 kB / 446.9 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.5067, allocations: 14.09 kB / 446.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.5069, allocations: 200.2 kB / 447.1 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.5069, allocations: 7.312 kB / 447.1 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.507, allocations: 1.438 kB / 447.1 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.5074, allocations: 179.5 kB / 447.3 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5075, allocations: 0 / 447.3 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.5075, allocations: 1.25 kB / 447.3 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.5075, allocations: 10.89 kB / 447.3 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004615/0.508, allocations: 188.2 kB / 447.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.5087, allocations: 487.7 kB / 447.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.509, allocations: 178.6 kB / 448.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.5093, allocations: 164.2 kB / 448.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1507/0.66, allocations: 91.75 MB / 0.5274 GB, free: 8.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.472e-05/0.6602, allocations: 38.56 kB / 0.5274 GB, free: 8.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 4.228e-06/0.6602, allocations: 0 / 0.5274 GB, free: 8.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001421/0.6616, allocations: 0.4996 MB / 0.5279 GB, free: 7.934 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.6617, allocations: 55.34 kB / 0.528 GB, free: 7.867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.6618, allocations: 138.2 kB / 0.5281 GB, free: 7.723 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.6619, allocations: 25.7 kB / 0.5281 GB, free: 7.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.6619, allocations: 89.14 kB / 0.5282 GB, free: 7.602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.662, allocations: 142.2 kB / 0.5283 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.6621, allocations: 37.69 kB / 0.5284 GB, free: 7.422 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6622, allocations: 330.8 kB / 0.5287 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.6625, allocations: 132.4 kB / 0.5288 GB, free: 6.961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.6628, allocations: 132.4 kB / 0.5289 GB, free: 6.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005992/0.6634, allocations: 311.7 kB / 0.5292 GB, free: 6.523 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6634, allocations: 0 / 0.5292 GB, free: 6.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006441/0.664, allocations: 353.1 kB / 0.5296 GB, free: 6.176 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.6641, allocations: 7.938 kB / 0.5296 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6641, allocations: 0 / 0.5296 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.6641, allocations: 7.562 kB / 0.5296 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.6643, allocations: 31.97 kB / 0.5296 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6643, allocations: 0 / 0.5296 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.6645, allocations: 37.2 kB / 0.5297 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.6645, allocations: 11.98 kB / 0.5297 GB, free: 6.086 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 (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 0.0001234/0.6647, allocations: 124.4 kB / 0.5298 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.6647, allocations: 19.81 kB / 0.5298 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008354/0.6656, allocations: 431.8 kB / 0.5302 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.6656, allocations: 7.984 kB / 0.5302 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.6656, allocations: 0.875 kB / 0.5302 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6656, allocations: 1.531 kB / 0.5302 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.666, allocations: 301.2 kB / 0.5305 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.666, allocations: 0 / 0.5305 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.6661, allocations: 31.97 kB / 0.5305 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6661, allocations: 0 / 0.5305 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.6661, allocations: 6.188 kB / 0.5305 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.6661, allocations: 0 / 0.5305 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6662, allocations: 3.938 kB / 0.5306 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.6669, allocations: 475.4 kB / 0.531 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.724e-05/0.667, allocations: 112.8 kB / 0.5311 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.667, allocations: 1.859 kB / 0.5311 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.6672, allocations: 19.98 kB / 0.5311 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.6672, allocations: 15.97 kB / 0.5311 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.6672, allocations: 0 / 0.5311 GB, free: 4.492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.599e-05/0.6673, allocations: 106.9 kB / 0.5312 GB, free: 4.391 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6673, allocations: 4 kB / 0.5313 GB, free: 4.387 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003771/0.6711, allocations: 1.122 MB / 0.5323 GB, free: 3.266 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 (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.004936/0.6761, allocations: 1.67 MB / 0.534 GB, free: 1.758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007324/0.6768, allocations: 321.7 kB / 0.5343 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6768, allocations: 4 kB / 0.5343 GB, free: 1.438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.6771, allocations: 172.4 kB / 0.5345 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/0.6781, allocations: 156.2 kB / 0.5346 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007827/0.6789, allocations: 496.5 kB / 0.5351 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.6793, allocations: 0.7398 MB / 0.5358 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.6794, allocations: 19.97 kB / 0.5358 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.6795, allocations: 15.44 kB / 0.5358 GB, free: 15.81 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6795, allocations: 4 kB / 0.5358 GB, free: 15.8 MB / 430.1 MB Notification: Performance of Templates: time 0.04588/0.7254, allocations: 30.3 MB / 0.5654 GB, free: 1.59 MB / 446.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: