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.001668/0.001668, allocations: 106.1 kB / 16.41 MB, free: 6.5 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.001943/0.001943, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.343/1.343, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0485/0.0485, allocations: 9.092 MB / 279.7 MB, free: 2.961 MB / 222.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.00143/0.001431, allocations: 72.52 kB / 388.1 MB, free: 47.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07337/0.07481, allocations: 48.18 MB / 436.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01654/0.09138, allocations: 18.39 MB / 454.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.1057, allocations: 16.4 MB / 471.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1059, allocations: 4 kB / 471.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007124/0.1066, allocations: 286.6 kB / 471.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.1068, allocations: 119.3 kB / 471.5 MB, free: 4.438 MB / 350.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:887:13-887: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:887:13-887: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. [/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.01698/0.1238, allocations: 7.034 MB / 478.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.1242, allocations: 246.7 kB / 478.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.224e-05/0.1242, allocations: 13.12 kB / 478.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.1245, allocations: 107.5 kB / 478.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1246, allocations: 59.8 kB / 478.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1246, allocations: 0 / 478.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01799/0.1426, allocations: 10.07 MB / 489 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.1427, allocations: 7.938 kB / 489 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1428, allocations: 63.69 kB / 489.1 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009648/0.1525, allocations: 4.245 MB / 493.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1525, allocations: 4 kB / 493.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1525, allocations: 0 / 493.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1525, allocations: 3.938 kB / 493.3 MB, free: 14.55 MB / 382.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.002036/0.1546, allocations: 0.9552 MB / 494.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1546, allocations: 12.03 kB / 494.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.1547, allocations: 7.906 kB / 494.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.1548, allocations: 182.7 kB / 494.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1549, allocations: 0 / 494.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1549, allocations: 7.984 kB / 494.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1551, allocations: 117.2 kB / 494.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1551, allocations: 0 / 494.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1551, allocations: 4 kB / 494.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.1551, allocations: 11.98 kB / 494.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.694e-05/0.1552, allocations: 75.97 kB / 494.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.1555, allocations: 257.1 kB / 494.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1556, allocations: 118.5 kB / 495.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.174e-05/0.1557, allocations: 108.9 kB / 495.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.301/0.4567, allocations: 93.06 MB / 0.5744 GB, free: 44.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.4568, allocations: 30.56 kB / 0.5745 GB, free: 44.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.885e-06/0.4568, allocations: 5.625 kB / 0.5745 GB, free: 44.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0003985/0.4572, allocations: 328.7 kB / 0.5748 GB, free: 43.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.317e-05/0.4572, allocations: 55.39 kB / 0.5748 GB, free: 43.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.131e-05/0.4573, allocations: 97.86 kB / 0.5749 GB, free: 43.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.4573, allocations: 25.83 kB / 0.575 GB, free: 43.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.213e-05/0.4573, allocations: 85.14 kB / 0.575 GB, free: 43.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.018e-05/0.4574, allocations: 132.6 kB / 0.5752 GB, free: 43.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.4574, allocations: 33.7 kB / 0.5752 GB, free: 43.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.08e-05/0.4575, allocations: 322.8 kB / 0.5755 GB, free: 43.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.4575, allocations: 75.97 kB / 0.5756 GB, free: 43.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.521e-05/0.4576, allocations: 77 kB / 0.5756 GB, free: 43.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.4577, allocations: 201.9 kB / 0.5758 GB, free: 42.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4577, allocations: 0 / 0.5758 GB, free: 42.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001987/0.458, allocations: 241.2 kB / 0.5761 GB, free: 42.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.458, allocations: 4 kB / 0.5761 GB, free: 42.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.458, allocations: 0 / 0.5761 GB, free: 42.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.458, allocations: 0.6562 kB / 0.5761 GB, free: 42.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.458, allocations: 4 kB / 0.5761 GB, free: 42.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.458, allocations: 0 / 0.5761 GB, free: 42.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.4581, allocations: 23.56 kB / 0.5761 GB, free: 42.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.4581, allocations: 7.984 kB / 0.5761 GB, free: 42.57 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 5.794e-05/0.4582, allocations: 118.6 kB / 0.5762 GB, free: 42.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.4582, allocations: 15.91 kB / 0.5762 GB, free: 42.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.4585, allocations: 379.2 kB / 0.5766 GB, free: 42.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4585, allocations: 0 / 0.5766 GB, free: 42.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4585, allocations: 0 / 0.5766 GB, free: 42.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.4586, allocations: 94.58 kB / 0.5767 GB, free: 41.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.4586, allocations: 7.906 kB / 0.5767 GB, free: 41.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.832e-05/0.4586, allocations: 4 kB / 0.5767 GB, free: 41.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.4587, allocations: 4 kB / 0.5767 GB, free: 41.92 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001533/0.4588, allocations: 263.4 kB / 0.577 GB, free: 41.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001866/0.459, allocations: 374.2 kB / 0.5773 GB, free: 41.28 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.622e-05/0.4591, allocations: 79.98 kB / 0.5774 GB, free: 41.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.688e-05/0.4591, allocations: 99.27 kB / 0.5775 GB, free: 41.1 MB / 414.1 MB Notification: Performance of Backend: time 4.21e-07/0.4591, allocations: 0 / 0.5775 GB, free: 41.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004123/0.4633, allocations: 1.727 MB / 0.5792 GB, free: 39.7 MB / 414.1 MB Notification: Performance of SimCode: time 0.0005424/0.4638, allocations: 0.721 MB / 0.5799 GB, free: 38.94 MB / 414.1 MB Notification: Performance of Templates: time 0.03186/0.4957, allocations: 27.73 MB / 0.6069 GB, free: 11.3 MB / 414.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)