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.001273/0.001273, allocations: 108.6 kB / 16.41 MB, free: 6.477 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.001024/0.001025, allocations: 187.9 kB / 17.35 MB, free: 5.711 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 / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04443/0.04443, allocations: 9.097 MB / 279.7 MB, free: 2.938 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.001425/0.001425, allocations: 67.39 kB / 388.1 MB, free: 47.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06562/0.06706, allocations: 48.19 MB / 436.3 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01804/0.08513, allocations: 18.38 MB / 454.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.09951, allocations: 16.4 MB / 471.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.09969, allocations: 4 kB / 471.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007566/0.1005, allocations: 334.5 kB / 471.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.1007, allocations: 127.3 kB / 471.5 MB, free: 4.367 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.01636/0.1171, allocations: 7.398 MB / 478.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.1174, allocations: 246.7 kB / 479.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.1175, allocations: 9.125 kB / 479.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.1176, allocations: 115.5 kB / 479.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.649e-05/0.1177, allocations: 51.8 kB / 479.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1177, allocations: 0 / 479.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0159/0.1337, allocations: 10.07 MB / 489.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.1337, allocations: 15.92 kB / 489.4 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.1339, allocations: 59.69 kB / 489.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009982/0.1438, allocations: 4.263 MB / 493.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1439, allocations: 0 / 493.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1439, allocations: 4 kB / 493.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1439, allocations: 0 / 493.8 MB, free: 14.11 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.001925/0.1458, allocations: 0.9821 MB / 494.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1459, allocations: 8.031 kB / 494.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.1459, allocations: 15.91 kB / 494.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.1461, allocations: 186.8 kB / 494.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1461, allocations: 4 kB / 494.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1461, allocations: 0 / 494.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1463, allocations: 121.2 kB / 495.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1463, allocations: 4 kB / 495.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1463, allocations: 0 / 495.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.1464, allocations: 15.92 kB / 495.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.53e-05/0.1465, allocations: 75.91 kB / 495.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.1467, allocations: 253.3 kB / 495.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.1468, allocations: 118.5 kB / 495.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.28e-05/0.1469, allocations: 100.9 kB / 495.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2922/0.4392, allocations: 93.07 MB / 0.5749 GB, free: 43.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.4392, allocations: 34.56 kB / 0.5749 GB, free: 43.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.444e-06/0.4392, allocations: 0 / 0.5749 GB, free: 43.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0003677/0.4396, allocations: 332.8 kB / 0.5752 GB, free: 43.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.164e-05/0.4396, allocations: 55.41 kB / 0.5753 GB, free: 43.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.611e-05/0.4397, allocations: 97.86 kB / 0.5754 GB, free: 43.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.343e-06/0.4397, allocations: 25.7 kB / 0.5754 GB, free: 43.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.234e-05/0.4397, allocations: 81.14 kB / 0.5755 GB, free: 43.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.4398, allocations: 133.6 kB / 0.5756 GB, free: 43.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.4398, allocations: 37.7 kB / 0.5757 GB, free: 43.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.01e-05/0.4399, allocations: 326.8 kB / 0.576 GB, free: 42.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.508e-05/0.4399, allocations: 72.09 kB / 0.576 GB, free: 42.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.419e-05/0.44, allocations: 81 kB / 0.5761 GB, free: 42.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.4401, allocations: 201.9 kB / 0.5763 GB, free: 42.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.4401, allocations: 0 / 0.5763 GB, free: 42.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001778/0.4403, allocations: 233.9 kB / 0.5765 GB, free: 42.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.4403, allocations: 8 kB / 0.5765 GB, free: 42.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4403, allocations: 0 / 0.5765 GB, free: 42.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4404, allocations: 3.938 kB / 0.5765 GB, free: 42.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.4404, allocations: 0 / 0.5765 GB, free: 42.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4404, allocations: 0 / 0.5765 GB, free: 42.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.4404, allocations: 18.83 kB / 0.5766 GB, free: 42.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.4405, allocations: 15.94 kB / 0.5766 GB, free: 42.23 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.554e-05/0.4405, allocations: 117.7 kB / 0.5767 GB, free: 42.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.4405, allocations: 11.91 kB / 0.5767 GB, free: 42.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.4409, allocations: 380.1 kB / 0.5771 GB, free: 41.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4409, allocations: 0 / 0.5771 GB, free: 41.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4409, allocations: 4 kB / 0.5771 GB, free: 41.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.4409, allocations: 93.38 kB / 0.5771 GB, free: 41.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.4409, allocations: 10.19 kB / 0.5772 GB, free: 41.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.441, allocations: 0 / 0.5772 GB, free: 41.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.441, allocations: 3.984 kB / 0.5772 GB, free: 41.59 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001467/0.4411, allocations: 267.5 kB / 0.5774 GB, free: 41.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001757/0.4413, allocations: 373.2 kB / 0.5778 GB, free: 40.95 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.098e-05/0.4414, allocations: 79.98 kB / 0.5779 GB, free: 40.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.4414, allocations: 102.8 kB / 0.5779 GB, free: 40.77 MB / 414.1 MB Notification: Performance of Backend: time 7.11e-07/0.4414, allocations: 0 / 0.5779 GB, free: 40.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003615/0.4451, allocations: 1.743 MB / 0.5797 GB, free: 39.34 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004849/0.4455, allocations: 0.726 MB / 0.5804 GB, free: 38.57 MB / 414.1 MB Notification: Performance of Templates: time 0.02635/0.4719, allocations: 27.72 MB / 0.6074 GB, free: 10.95 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)