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.0009822/0.000982, allocations: 99.86 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.001174/0.001174, 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.645/1.645, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05029/0.05029, allocations: 9.065 MB / 279.4 MB, free: 12.28 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.0006526/0.0006525, allocations: 16.22 kB / 339.1 MB, free: 26.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1088, allocations: 49.2 MB / 388.3 MB, free: 8.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01844/0.1273, allocations: 15.11 MB / 403.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01592/0.1433, allocations: 14.93 MB / 418.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.1436, allocations: 8 kB / 418.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008281/0.1444, allocations: 259 kB / 418.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006358/0.1451, allocations: 211.4 kB / 418.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01914/0.1642, allocations: 5.879 MB / 424.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005189/0.1648, allocations: 251.4 kB / 424.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.506e-05/0.1649, allocations: 16.59 kB / 424.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.1653, allocations: 203.3 kB / 425.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1655, allocations: 91.62 kB / 425.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1655, allocations: 4 kB / 425.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2501/0.4156, allocations: 9.56 MB / 434.8 MB, free: 17.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.642e-05/0.4158, allocations: 19.75 kB / 434.8 MB, free: 17.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.416, allocations: 66.39 kB / 434.9 MB, free: 17.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009766/0.4257, allocations: 2.578 MB / 437.4 MB, free: 17.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4258, allocations: 0 / 437.4 MB, free: 17.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.4258, allocations: 0.5312 kB / 437.4 MB, free: 17.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.4258, allocations: 0 / 437.4 MB, free: 17.55 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.004859/0.4307, allocations: 1.088 MB / 438.5 MB, free: 16.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.4307, allocations: 8.281 kB / 438.5 MB, free: 16.87 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/0.4308, allocations: 18.98 kB / 438.6 MB, free: 16.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.431, allocations: 190.5 kB / 438.7 MB, free: 16.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.431, allocations: 7.594 kB / 438.7 MB, free: 16.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.431, allocations: 5.906 kB / 438.8 MB, free: 16.65 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.4315, allocations: 178.9 kB / 438.9 MB, free: 16.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4315, allocations: 5.375 kB / 438.9 MB, free: 16.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.4315, allocations: 0 / 438.9 MB, free: 16.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.4315, allocations: 10.59 kB / 438.9 MB, free: 16.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.432, allocations: 182.8 kB / 439.1 MB, free: 16.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008347/0.4328, allocations: 486.1 kB / 439.6 MB, free: 16.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.4332, allocations: 179.9 kB / 439.8 MB, free: 16.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1518/0.5851, allocations: 92.02 MB / 0.5193 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/0.5852, allocations: 37.22 kB / 0.5194 GB, free: 172 kB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 4.409e-06/0.5852, allocations: 4 kB / 0.5194 GB, free: 168 kB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.001507/0.5867, allocations: 0.9662 MB / 0.5203 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.5868, allocations: 57.98 kB / 0.5204 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.5869, allocations: 137.4 kB / 0.5205 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.5869, allocations: 31.95 kB / 0.5205 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.587, allocations: 92 kB / 0.5206 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.5871, allocations: 148.8 kB / 0.5208 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-06/0.5872, allocations: 4 kB / 0.5208 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5873, allocations: 329.6 kB / 0.5211 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.5875, allocations: 129 kB / 0.5212 GB, free: 14.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.5878, allocations: 130.3 kB / 0.5213 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.5881, allocations: 149.9 kB / 0.5215 GB, free: 14.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5881, allocations: 0 / 0.5215 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007125/0.5888, allocations: 347.9 kB / 0.5218 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.5889, allocations: 14.5 kB / 0.5218 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5889, allocations: 3.469 kB / 0.5218 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.5889, allocations: 0 / 0.5218 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.5891, allocations: 30.97 kB / 0.5218 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.5891, allocations: 0 / 0.5218 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.5893, allocations: 42.14 kB / 0.5219 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.5894, allocations: 4 kB / 0.5219 GB, free: 13.81 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 (11): * Single equations (assignments): 5 * 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.0001274/0.5895, allocations: 124.7 kB / 0.522 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.5896, allocations: 15.81 kB / 0.522 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008236/0.5904, allocations: 430.8 kB / 0.5224 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/0.5904, allocations: 3.984 kB / 0.5224 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5904, allocations: 8 kB / 0.5224 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.5905, allocations: 3.984 kB / 0.5224 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.5909, allocations: 288.6 kB / 0.5227 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5909, allocations: 1.531 kB / 0.5227 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.591, allocations: 31.97 kB / 0.5228 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.591, allocations: 2.625 kB / 0.5228 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.591, allocations: 3.5 kB / 0.5228 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5911, allocations: 0 / 0.5228 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5911, allocations: 4 kB / 0.5228 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008028/0.5919, allocations: 464 kB / 0.5232 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.592, allocations: 110.4 kB / 0.5233 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.5921, allocations: 7.25 kB / 0.5233 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.5923, allocations: 24.84 kB / 0.5233 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.5923, allocations: 18.52 kB / 0.5234 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.5924, allocations: 3.953 kB / 0.5234 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.102e-05/0.5924, allocations: 106.1 kB / 0.5235 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5924, allocations: 0 / 0.5235 GB, free: 12.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005498/0.5979, allocations: 1.111 MB / 0.5245 GB, free: 11.29 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 (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.009336/0.6073, allocations: 1.667 MB / 0.5262 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009446/0.6083, allocations: 310.6 kB / 0.5265 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.6083, allocations: 3.625 kB / 0.5265 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.6087, allocations: 174.2 kB / 0.5266 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.6098, allocations: 162.8 kB / 0.5268 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009421/0.6107, allocations: 485.6 kB / 0.5273 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.6111, allocations: 0.737 MB / 0.528 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.6113, allocations: 12 kB / 0.528 GB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.6113, allocations: 19.25 kB / 0.528 GB, free: 8.141 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6113, allocations: 4 kB / 0.528 GB, free: 8.137 MB / 414.1 MB Notification: Performance of Templates: time 0.05185/0.6632, allocations: 30.04 MB / 0.5573 GB, free: 10.29 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: