Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.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.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008524/0.0008524, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000863/0.0008629, allocations: 172.7 kB / 15.95 MB, free: 208 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.297/1.297, 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.04215/0.04215, allocations: 9.065 MB / 279.5 MB, free: 12.25 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.0005114/0.0005115, allocations: 12 kB / 339.1 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07512/0.07564, allocations: 49.2 MB / 388.3 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01601/0.09168, allocations: 15.55 MB / 403.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008368/0.1001, allocations: 9.172 MB / 413 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.1002, allocations: 0 / 413 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005391/0.1007, allocations: 214.9 kB / 413.2 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.318e-05/0.1008, allocations: 11.92 kB / 413.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.1108, allocations: 4.052 MB / 417.3 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.798e-05/0.1109, allocations: 43.75 kB / 417.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.111, allocations: 7.984 kB / 417.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.111, allocations: 23.88 kB / 417.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.1111, allocations: 7.938 kB / 417.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.1111, allocations: 4 kB / 417.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.1221, allocations: 6.423 MB / 423.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.1222, allocations: 7.938 kB / 423.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.1222, allocations: 29.7 kB / 423.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003397/0.1256, allocations: 1.856 MB / 425.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1256, allocations: 0 / 425.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1257, allocations: 0 / 425.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1257, allocations: 8 kB / 425.7 MB, free: 3.254 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001299/0.127, allocations: 0.6903 MB / 426.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.127, allocations: 12.03 kB / 426.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.1271, allocations: 3.938 kB / 426.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.1272, allocations: 163 kB / 426.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1272, allocations: 0 / 426.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.1272, allocations: 7.938 kB / 426.6 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.1274, allocations: 41.62 kB / 426.6 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1274, allocations: 4 kB / 426.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1274, allocations: 0 / 426.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1274, allocations: 7.953 kB / 426.6 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.1275, allocations: 11.98 kB / 426.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.1276, allocations: 173.6 kB / 426.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.692e-05/0.1277, allocations: 30.58 kB / 426.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.1277, allocations: 16.89 kB / 426.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1716/0.2993, allocations: 13.69 MB / 440.6 MB, free: 34.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.2994, allocations: 36.06 kB / 440.6 MB, free: 34.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.154e-06/0.2994, allocations: 0 / 440.6 MB, free: 34.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000183/0.2996, allocations: 78.44 kB / 440.7 MB, free: 34.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.2996, allocations: 52.06 kB / 440.7 MB, free: 34.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.678e-05/0.2997, allocations: 97 kB / 440.8 MB, free: 34.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.2997, allocations: 25.7 kB / 440.8 MB, free: 34.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.44e-05/0.2997, allocations: 80.89 kB / 440.9 MB, free: 34.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.2998, allocations: 21.14 kB / 440.9 MB, free: 34.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.2998, allocations: 0 / 440.9 MB, free: 34.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.052e-05/0.2998, allocations: 322.3 kB / 441.3 MB, free: 34.19 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.2998, allocations: 10.25 kB / 441.3 MB, free: 34.19 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/0.2999, allocations: 11.7 kB / 441.3 MB, free: 34.19 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.459e-05/0.2999, allocations: 15.58 kB / 441.3 MB, free: 34.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2999, allocations: 0 / 441.3 MB, free: 34.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.235e-05/0.3, allocations: 65.97 kB / 441.4 MB, free: 34.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3, allocations: 7.656 kB / 441.4 MB, free: 34.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3, allocations: 2.672 kB / 441.4 MB, free: 34.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3, allocations: 1.031 kB / 441.4 MB, free: 34.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-06/0.3, allocations: 0 / 441.4 MB, free: 34.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3, allocations: 4.625 kB / 441.4 MB, free: 34.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.3001, allocations: 4.75 kB / 441.4 MB, free: 34.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.3001, allocations: 4.5 kB / 441.4 MB, free: 34.16 MB / 318.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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 4.462e-05/0.3001, allocations: 111.2 kB / 441.5 MB, free: 34.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.3001, allocations: 1.844 kB / 441.5 MB, free: 34.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.3003, allocations: 173.7 kB / 441.7 MB, free: 33.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.3003, allocations: 182.1 kB / 441.8 MB, free: 33.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-05/0.3003, allocations: 178 kB / 442 MB, free: 33.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-05/0.3003, allocations: 187.8 kB / 442.2 MB, free: 33.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.3005, allocations: 415.8 kB / 442.6 MB, free: 32.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.3005, allocations: 106.8 kB / 442.7 MB, free: 32.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.3005, allocations: 102.8 kB / 442.8 MB, free: 32.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.102e-05/0.3005, allocations: 180.9 kB / 443 MB, free: 32.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3006, allocations: 183.6 kB / 443.2 MB, free: 32.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.035e-05/0.3006, allocations: 180.8 kB / 443.3 MB, free: 32.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-05/0.3006, allocations: 182 kB / 443.5 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.028e-05/0.3007, allocations: 313.2 kB / 443.8 MB, free: 31.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.3007, allocations: 184.1 kB / 444 MB, free: 31.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.3008, allocations: 189 kB / 444.2 MB, free: 31.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.789e-05/0.3008, allocations: 106.6 kB / 444.3 MB, free: 31.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.3009, allocations: 178 kB / 444.5 MB, free: 30.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.3009, allocations: 106.8 kB / 444.6 MB, free: 30.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.728e-05/0.3009, allocations: 98.27 kB / 444.7 MB, free: 30.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.301, allocations: 3.125 kB / 444.7 MB, free: 30.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001748/0.3027, allocations: 0.743 MB / 445.4 MB, free: 30.75 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003015/0.3057, allocations: 1.258 MB / 446.7 MB, free: 30.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.651e-05/0.3058, allocations: 22.98 kB / 446.7 MB, free: 30.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3058, allocations: 0.5 kB / 446.7 MB, free: 30.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.3059, allocations: 0.5938 kB / 446.7 MB, free: 30.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.3062, allocations: 0.5332 MB / 447.2 MB, free: 29.94 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.3064, allocations: 213.9 kB / 447.4 MB, free: 29.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.152e-05/0.3065, allocations: 0.6769 MB / 448.1 MB, free: 29.05 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.207e-05/0.3065, allocations: 5.312 kB / 448.1 MB, free: 29.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.3065, allocations: 14.19 kB / 448.1 MB, free: 29.04 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3066, allocations: 0 / 448.1 MB, free: 29.04 MB / 318.1 MB Notification: Performance of Templates: time 0.02425/0.3308, allocations: 21.29 MB / 469.4 MB, free: 13.01 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1) Environment - environmentSimulation: