Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.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.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") translateModel(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009281/0.0009281, allocations: 99.62 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.0009498/0.00095, allocations: 177.3 kB / 15.95 MB, free: 216 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.299/1.299, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04413/0.04413, allocations: 9.068 MB / 279.4 MB, free: 12.26 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.0004742/0.0004743, allocations: 16 kB / 339.1 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07309/0.07357, allocations: 49.19 MB / 388.3 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01612/0.08973, allocations: 15.36 MB / 403.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01463/0.1044, allocations: 14 MB / 417.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1046, allocations: 4 kB / 417.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006446/0.1052, allocations: 255.1 kB / 417.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.1054, allocations: 107.8 kB / 418 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0141/0.1195, allocations: 5.65 MB / 423.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.1198, allocations: 175.7 kB / 423.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.1198, allocations: 5.125 kB / 423.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.12, allocations: 111.6 kB / 423.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.009e-05/0.1201, allocations: 51.81 kB / 424 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1201, allocations: 4 kB / 424 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.157/0.2771, allocations: 9.018 MB / 433 MB, free: 18.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.2772, allocations: 16.5 kB / 433 MB, free: 18.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.561e-05/0.2773, allocations: 54.33 kB / 433.1 MB, free: 18.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00512/0.2824, allocations: 2.45 MB / 435.5 MB, free: 18.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2824, allocations: 0.875 kB / 435.5 MB, free: 18.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2824, allocations: 0.9375 kB / 435.5 MB, free: 18.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.2825, allocations: 0 / 435.5 MB, free: 18.12 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.002145/0.2846, allocations: 0.9423 MB / 436.5 MB, free: 17.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.2846, allocations: 9.25 kB / 436.5 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.2847, allocations: 13 kB / 436.5 MB, free: 17.47 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.762e-05/0.2848, allocations: 178.1 kB / 436.7 MB, free: 17.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2848, allocations: 1.375 kB / 436.7 MB, free: 17.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.2848, allocations: 8.641 kB / 436.7 MB, free: 17.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.285, allocations: 110 kB / 436.8 MB, free: 17.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.285, allocations: 5.297 kB / 436.8 MB, free: 17.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.285, allocations: 2.578 kB / 436.8 MB, free: 17.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.285, allocations: 13.59 kB / 436.8 MB, free: 17.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.162e-05/0.2851, allocations: 77.25 kB / 436.9 MB, free: 17.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.2853, allocations: 251 kB / 437.1 MB, free: 17.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.2854, allocations: 121.9 kB / 437.2 MB, free: 17.01 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1363/0.4217, allocations: 91.46 MB / 0.5163 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.4218, allocations: 38.5 kB / 0.5164 GB, free: 3.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.885e-06/0.4218, allocations: 0 / 0.5164 GB, free: 3.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.000689/0.4225, allocations: 0.7949 MB / 0.5171 GB, free: 2.387 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.4226, allocations: 58.12 kB / 0.5172 GB, free: 2.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.4227, allocations: 97.41 kB / 0.5173 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.4227, allocations: 25.7 kB / 0.5173 GB, free: 2.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.4227, allocations: 86.78 kB / 0.5174 GB, free: 2.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.4228, allocations: 126.4 kB / 0.5175 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.4228, allocations: 7.75 kB / 0.5175 GB, free: 1.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.423, allocations: 324.2 kB / 0.5178 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.423, allocations: 76.22 kB / 0.5179 GB, free: 1.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/0.4231, allocations: 82.56 kB / 0.518 GB, free: 1.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.572e-05/0.4232, allocations: 88.16 kB / 0.5181 GB, free: 1.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4232, allocations: 0 / 0.5181 GB, free: 1.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002369/0.4235, allocations: 233.5 kB / 0.5183 GB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4235, allocations: 4 kB / 0.5183 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4235, allocations: 0 / 0.5183 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.4235, allocations: 0 / 0.5183 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.4235, allocations: 4.875 kB / 0.5183 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.4235, allocations: 4 kB / 0.5183 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.413e-05/0.4236, allocations: 18.23 kB / 0.5183 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.4236, allocations: 4 kB / 0.5183 GB, free: 1.328 MB / 398.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 (6): * Single equations (assignments): 0 * 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 8.342e-05/0.4237, allocations: 121.3 kB / 0.5184 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.4238, allocations: 12.98 kB / 0.5184 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.4241, allocations: 381.3 kB / 0.5188 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.4242, allocations: 7.984 kB / 0.5188 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4242, allocations: 4 kB / 0.5188 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4242, allocations: 2.438 kB / 0.5188 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.4244, allocations: 238.8 kB / 0.519 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4244, allocations: 0 / 0.519 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/0.4244, allocations: 0 / 0.519 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4244, allocations: 0 / 0.519 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4244, allocations: 4 kB / 0.5191 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4244, allocations: 0 / 0.5191 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4244, allocations: 0 / 0.5191 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.4247, allocations: 226.1 kB / 0.5193 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.4247, allocations: 108.6 kB / 0.5194 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.4248, allocations: 4 kB / 0.5194 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.4248, allocations: 3.656 kB / 0.5194 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.4248, allocations: 0 / 0.5194 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.4248, allocations: 9.406 kB / 0.5194 GB, free: 332 kB / 398.1 MB Notification: Performance of sorting global known variables: time 5.247e-05/0.4249, allocations: 99.08 kB / 0.5195 GB, free: 240 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4249, allocations: 0 / 0.5195 GB, free: 240 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.003428/0.4283, allocations: 1.083 MB / 0.5205 GB, free: 15.18 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: 5 (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 (5): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.006385/0.4347, allocations: 1.616 MB / 0.5221 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.435, allocations: 172.1 kB / 0.5223 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.435, allocations: 4 kB / 0.5223 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.45e-05/0.4351, allocations: 91.47 kB / 0.5224 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000756/0.4359, allocations: 119.6 kB / 0.5225 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.4364, allocations: 352.1 kB / 0.5228 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.4366, allocations: 0.7208 MB / 0.5235 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.778e-05/0.4367, allocations: 9.516 kB / 0.5235 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.4367, allocations: 15.44 kB / 0.5235 GB, free: 12.42 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4367, allocations: 4.281 kB / 0.5236 GB, free: 12.41 MB / 414.1 MB Notification: Performance of Templates: time 0.04185/0.4786, allocations: 28.63 MB / 0.5515 GB, free: 15.94 MB / 446.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) Environment - environmentSimulation: