Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_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_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004834/0.004834, allocations: 106.2 kB / 15.74 MB, free: 6 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.001099/0.001099, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 4.352 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0481/0.04811, allocations: 9.096 MB / 279 MB, free: 11.93 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.002351/0.002351, allocations: 70.41 kB / 387.4 MB, free: 8.023 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.245, allocations: 48.16 MB / 435.6 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.02784/0.2729, allocations: 16.98 MB / 452.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.2862, allocations: 11.1 MB / 463.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.2863, allocations: 5.125 kB / 463.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007919/0.2871, allocations: 301.1 kB / 464 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.2872, allocations: 41.59 kB / 464 MB, free: 1.727 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0164/0.3036, allocations: 6.053 MB / 470.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.3038, allocations: 91.25 kB / 470.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.3038, allocations: 3.344 kB / 470.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.459e-05/0.3039, allocations: 35.73 kB / 470.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.304, allocations: 15.16 kB / 470.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.715e-06/0.304, allocations: 1.25 kB / 470.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01449/0.3185, allocations: 8.652 MB / 478.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.3185, allocations: 7.938 kB / 478.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.3186, allocations: 19.88 kB / 478.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008215/0.3268, allocations: 3.656 MB / 482.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3269, allocations: 0 / 482.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3269, allocations: 4 kB / 482.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.3269, allocations: 0 / 482.6 MB, free: 1.688 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001675/0.3286, allocations: 0.7877 MB / 483.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3286, allocations: 12.03 kB / 483.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.3287, allocations: 7.844 kB / 483.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3288, allocations: 171 kB / 483.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3288, allocations: 0 / 483.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.3288, allocations: 0 / 483.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.329, allocations: 57.69 kB / 483.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.329, allocations: 0 / 483.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.329, allocations: 0 / 483.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.329, allocations: 7.984 kB / 483.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.055e-05/0.329, allocations: 27.88 kB / 483.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.3292, allocations: 181.6 kB / 483.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.43e-05/0.3293, allocations: 50.56 kB / 483.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.3294, allocations: 32.89 kB / 483.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06862/0.398, allocations: 41.41 MB / 0.513 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.3981, allocations: 34.56 kB / 0.513 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.905e-06/0.3981, allocations: 3.938 kB / 0.513 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002953/0.3984, allocations: 130 kB / 0.5131 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.3985, allocations: 51.41 kB / 0.5132 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.3985, allocations: 97.84 kB / 0.5133 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3986, allocations: 25.7 kB / 0.5133 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.3986, allocations: 88.08 kB / 0.5134 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.3987, allocations: 47.3 kB / 0.5134 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.3987, allocations: 13.72 kB / 0.5134 GB, free: 14.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3989, allocations: 319 kB / 0.5138 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.399, allocations: 28 kB / 0.5138 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.399, allocations: 27.98 kB / 0.5138 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.497e-05/0.3991, allocations: 68.78 kB / 0.5139 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3991, allocations: 0 / 0.5139 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001486/0.3993, allocations: 93.58 kB / 0.514 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3993, allocations: 9.031 kB / 0.514 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3993, allocations: 0 / 0.514 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3993, allocations: 0 / 0.514 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.3993, allocations: 0 / 0.514 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3993, allocations: 0 / 0.514 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.3994, allocations: 12.06 kB / 0.514 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3994, allocations: 3.984 kB / 0.514 GB, free: 14.37 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: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.362e-05/0.3995, allocations: 121.7 kB / 0.5141 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.3995, allocations: 7.844 kB / 0.5141 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.3998, allocations: 151.6 kB / 0.5143 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3998, allocations: 0 / 0.5143 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3998, allocations: 7.984 kB / 0.5143 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3998, allocations: 4.031 kB / 0.5143 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.4, allocations: 165.6 kB / 0.5144 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4, allocations: 0 / 0.5144 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.4, allocations: 0 / 0.5144 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.4, allocations: 11.92 kB / 0.5144 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.4, allocations: 0 / 0.5144 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.4, allocations: 0 / 0.5144 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4, allocations: 3.938 kB / 0.5144 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.4002, allocations: 96.95 kB / 0.5145 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.4002, allocations: 85.05 kB / 0.5146 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.4002, allocations: 3.938 kB / 0.5146 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.4003, allocations: 0 / 0.5146 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.4003, allocations: 0 / 0.5146 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.4003, allocations: 3.984 kB / 0.5146 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.853e-05/0.4004, allocations: 103.3 kB / 0.5147 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4004, allocations: 0 / 0.5147 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002092/0.4025, allocations: 0.8628 MB / 0.5156 GB, free: 12.63 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: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00423/0.4067, allocations: 1.354 MB / 0.5169 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.4069, allocations: 47.98 kB / 0.5169 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4069, allocations: 0 / 0.5169 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.552e-05/0.4069, allocations: 16 kB / 0.5169 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.4074, allocations: 63.98 kB / 0.517 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.4078, allocations: 159.7 kB / 0.5172 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.4081, allocations: 0.6885 MB / 0.5178 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.625e-05/0.4081, allocations: 0 / 0.5178 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.4082, allocations: 11.44 kB / 0.5178 GB, free: 10.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4082, allocations: 0 / 0.5178 GB, free: 10.23 MB / 414.1 MB Notification: Performance of Templates: time 0.037/0.4452, allocations: 24.05 MB / 0.5413 GB, free: 2.176 MB / 430.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1)