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.001079/0.001079, allocations: 112.2 kB / 16.42 MB, free: 6.504 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.001118/0.001118, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.351/1.351, 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.0467/0.0467, allocations: 9.098 MB / 279.7 MB, free: 2.941 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.001735/0.001735, allocations: 70.81 kB / 388.1 MB, free: 47.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06925/0.071, allocations: 48.18 MB / 436.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01613/0.08717, allocations: 16.83 MB / 453.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009526/0.09673, allocations: 9.743 MB / 462.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.0968, allocations: 0 / 462.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006167/0.09742, allocations: 251.2 kB / 463.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.592e-05/0.09756, allocations: 27.78 kB / 463.1 MB, free: 12.67 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. Notification: Performance of NFTyping.typeClassSections: time 0.01178/0.1093, allocations: 5.098 MB / 468.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.662e-05/0.1094, allocations: 47.73 kB / 468.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.1095, allocations: 0 / 468.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.948e-05/0.1096, allocations: 27.81 kB / 468.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.1096, allocations: 11.92 kB / 468.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.166e-06/0.1097, allocations: 4 kB / 468.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0119/0.1216, allocations: 7.845 MB / 476.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.1216, allocations: 0 / 476.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.1216, allocations: 15.92 kB / 476.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005805/0.1274, allocations: 3.294 MB / 479.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1275, allocations: 0 / 479.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1275, allocations: 0 / 479.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1275, allocations: 0 / 479.5 MB, free: 12.3 MB / 366.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.001292/0.1288, allocations: 0.6941 MB / 480.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1288, allocations: 16.03 kB / 480.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.1289, allocations: 3.984 kB / 480.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.129, allocations: 170.9 kB / 480.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.129, allocations: 0 / 480.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.129, allocations: 4 kB / 480.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.863e-05/0.1291, allocations: 33.7 kB / 480.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1291, allocations: 0 / 480.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.1291, allocations: 3.938 kB / 480.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1291, allocations: 7.984 kB / 480.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.49e-05/0.1292, allocations: 15.98 kB / 480.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.1293, allocations: 165.6 kB / 480.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.031e-05/0.1294, allocations: 38.52 kB / 480.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.1294, allocations: 24.88 kB / 480.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02649/0.1559, allocations: 13.99 MB / 494.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.156, allocations: 30.56 kB / 494.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.795e-06/0.156, allocations: 4 kB / 494.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002067/0.1562, allocations: 77.62 kB / 494.7 MB, free: 10.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.1562, allocations: 51.41 kB / 494.8 MB, free: 10.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.737e-05/0.1563, allocations: 97.84 kB / 494.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.1563, allocations: 25.7 kB / 494.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.705e-05/0.1564, allocations: 84.14 kB / 495 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.1564, allocations: 23.66 kB / 495 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.1565, allocations: 9.875 kB / 495 MB, free: 10.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1566, allocations: 330.8 kB / 495.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.1566, allocations: 8 kB / 495.4 MB, free: 9.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.792e-05/0.1566, allocations: 15.94 kB / 495.4 MB, free: 9.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/0.1567, allocations: 32.84 kB / 495.4 MB, free: 9.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.1567, allocations: 4 kB / 495.4 MB, free: 9.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.707e-05/0.1568, allocations: 57.62 kB / 495.5 MB, free: 9.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1568, allocations: 8 kB / 495.5 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1568, allocations: 0 / 495.5 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1568, allocations: 0 / 495.5 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.1568, allocations: 4.062 kB / 495.5 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1569, allocations: 0 / 495.5 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.1569, allocations: 7.891 kB / 495.5 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1569, allocations: 7.938 kB / 495.5 MB, free: 9.672 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.125e-05/0.157, allocations: 114.7 kB / 495.6 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.157, allocations: 3.984 kB / 495.6 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.1571, allocations: 170.8 kB / 495.8 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.745e-05/0.1572, allocations: 188.2 kB / 496 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-05/0.1572, allocations: 101 kB / 496.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.1573, allocations: 186 kB / 496.2 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.1574, allocations: 184.1 kB / 496.4 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.1575, allocations: 105 kB / 496.5 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.1575, allocations: 188.2 kB / 496.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.559e-05/0.1576, allocations: 255.5 kB / 497 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001492/0.1578, allocations: 386.9 kB / 497.3 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.882e-05/0.1578, allocations: 108.9 kB / 497.4 MB, free: 7.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.384e-05/0.1579, allocations: 103.3 kB / 497.5 MB, free: 7.477 MB / 382.1 MB Notification: Performance of Backend: time 5.61e-07/0.1579, allocations: 0 / 497.5 MB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003633/0.1615, allocations: 1.193 MB / 498.7 MB, free: 6.277 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006909/0.1623, allocations: 0.9082 MB / 499.7 MB, free: 5.324 MB / 382.1 MB Notification: Performance of Templates: time 0.03144/0.1937, allocations: 21.97 MB / 0.5094 GB, free: 15.34 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile (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)