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.001048/0.001048, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001076/0.001076, allocations: 190.6 kB / 16.13 MB, free: 6.699 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.252/1.252, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04178/0.04178, allocations: 9.085 MB / 278.4 MB, free: 12.4 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.001227/0.001227, allocations: 63.86 kB / 337.3 MB, free: 25.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07189/0.07313, allocations: 48.17 MB / 385.5 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01769/0.09085, allocations: 18.62 MB / 404.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.1054, allocations: 16.85 MB / 421 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.1055, allocations: 4 kB / 421 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007107/0.1063, allocations: 263.1 kB / 421.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.1065, allocations: 95.41 kB / 421.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1569/0.2634, allocations: 5.757 MB / 427.1 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.2637, allocations: 240.7 kB / 427.3 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.2638, allocations: 11.45 kB / 427.3 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.2639, allocations: 95.77 kB / 427.4 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.264, allocations: 61.83 kB / 427.5 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.264, allocations: 1.812 kB / 427.5 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01357/0.2776, allocations: 9.141 MB / 436.6 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.2777, allocations: 12.58 kB / 436.6 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.2779, allocations: 62.03 kB / 436.7 MB, free: 18.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009211/0.2871, allocations: 4.133 MB / 440.8 MB, free: 18.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2871, allocations: 0 / 440.8 MB, free: 18.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2871, allocations: 0 / 440.8 MB, free: 18.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.2871, allocations: 0 / 440.8 MB, free: 18.11 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.002002/0.2892, allocations: 0.9486 MB / 441.8 MB, free: 17.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2892, allocations: 10.03 kB / 441.8 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.2892, allocations: 13.72 kB / 441.8 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.433e-05/0.2893, allocations: 177.8 kB / 442 MB, free: 17.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2894, allocations: 4.047 kB / 442 MB, free: 17.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.2894, allocations: 7.125 kB / 442 MB, free: 17.21 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.2895, allocations: 109.6 kB / 442.1 MB, free: 17.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2895, allocations: 1.875 kB / 442.1 MB, free: 17.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2896, allocations: 1.875 kB / 442.1 MB, free: 17.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.2896, allocations: 11.2 kB / 442.1 MB, free: 17.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.088e-05/0.2897, allocations: 77.91 kB / 442.2 MB, free: 17.15 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.2899, allocations: 249.3 kB / 442.4 MB, free: 16.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.29, allocations: 122.5 kB / 442.5 MB, free: 16.9 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.2901, allocations: 107.5 kB / 442.7 MB, free: 16.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.134/0.424, allocations: 93.07 MB / 0.5232 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.4241, allocations: 38.56 kB / 0.5232 GB, free: 12.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.565e-06/0.4241, allocations: 0 / 0.5232 GB, free: 12.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0004527/0.4246, allocations: 332.9 kB / 0.5235 GB, free: 11.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.4246, allocations: 54.12 kB / 0.5236 GB, free: 11.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/0.4247, allocations: 97.86 kB / 0.5237 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.4247, allocations: 25.7 kB / 0.5237 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.4247, allocations: 85.12 kB / 0.5238 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.141e-05/0.4248, allocations: 132.9 kB / 0.5239 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.4249, allocations: 37.69 kB / 0.5239 GB, free: 11.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.425, allocations: 326.8 kB / 0.5243 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.4251, allocations: 75.97 kB / 0.5243 GB, free: 11.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.4251, allocations: 76.84 kB / 0.5244 GB, free: 10.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.4253, allocations: 193.7 kB / 0.5246 GB, free: 10.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4253, allocations: 0 / 0.5246 GB, free: 10.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002432/0.4256, allocations: 240.1 kB / 0.5248 GB, free: 10.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.4256, allocations: 4 kB / 0.5248 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4256, allocations: 4 kB / 0.5248 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4256, allocations: 0 / 0.5248 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-06/0.4256, allocations: 3.938 kB / 0.5248 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4257, allocations: 4 kB / 0.5248 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.89e-05/0.4257, allocations: 11.75 kB / 0.5248 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.4258, allocations: 4 kB / 0.5248 GB, free: 10.52 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 (6): * Single equations (assignments): 0 * 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.226e-05/0.4258, allocations: 121.8 kB / 0.525 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.4259, allocations: 7.906 kB / 0.525 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.4263, allocations: 397.2 kB / 0.5253 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.4263, allocations: 3.984 kB / 0.5253 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4263, allocations: 2.734 kB / 0.5253 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4263, allocations: 0 / 0.5253 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.4265, allocations: 241.3 kB / 0.5256 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4265, allocations: 0 / 0.5256 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/0.4265, allocations: 0 / 0.5256 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4265, allocations: 5.078 kB / 0.5256 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.4265, allocations: 4 kB / 0.5256 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4265, allocations: 0 / 0.5256 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4265, allocations: 0 / 0.5256 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.4267, allocations: 229.5 kB / 0.5258 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.4268, allocations: 92.86 kB / 0.5259 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4268, allocations: 0.9844 kB / 0.5259 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.4269, allocations: 0 / 0.5259 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.4269, allocations: 4 kB / 0.5259 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.4269, allocations: 3.984 kB / 0.5259 GB, free: 9.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.683e-05/0.427, allocations: 99.28 kB / 0.526 GB, free: 9.227 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.427, allocations: 4 kB / 0.526 GB, free: 9.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002721/0.4297, allocations: 1.082 MB / 0.5271 GB, free: 8.141 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 (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.004651/0.4344, allocations: 1.629 MB / 0.5286 GB, free: 6.688 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.4346, allocations: 179.8 kB / 0.5288 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4346, allocations: 0 / 0.5288 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/0.4347, allocations: 87.08 kB / 0.5289 GB, free: 6.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/0.4355, allocations: 148.5 kB / 0.529 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.436, allocations: 346 kB / 0.5294 GB, free: 5.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.4362, allocations: 0.713 MB / 0.5301 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.922e-05/0.4363, allocations: 13.92 kB / 0.5301 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.4363, allocations: 19.42 kB / 0.5301 GB, free: 5.156 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4363, allocations: 0 / 0.5301 GB, free: 5.156 MB / 414.1 MB Notification: Performance of Templates: time 0.0408/0.4771, allocations: 29.3 MB / 0.5587 GB, free: 7.984 MB / 446.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.makefile (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)