Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.001726/0.001726, allocations: 186.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.551/1.551, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04652/0.04652, allocations: 9.092 MB / 279.7 MB, free: 2.953 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.001441/0.001441, allocations: 67.23 kB / 388.1 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09103/0.09249, allocations: 48.18 MB / 436.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01735/0.1099, allocations: 16.9 MB / 453.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00616/0.1161, allocations: 5.81 MB / 459 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.1161, allocations: 3.938 kB / 459 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007135/0.117, allocations: 291.8 kB / 459.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.218e-05/0.117, allocations: 31.83 kB / 459.3 MB, free: 0.5195 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'. Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.1274, allocations: 4.291 MB / 463.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.1275, allocations: 51.67 kB / 463.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.1276, allocations: 7.984 kB / 463.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.708e-05/0.1277, allocations: 19.88 kB / 463.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.1277, allocations: 11.94 kB / 463.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.1277, allocations: 0 / 463.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0104/0.1381, allocations: 6.878 MB / 470.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.1382, allocations: 0 / 470.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.1382, allocations: 15.94 kB / 470.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005291/0.1435, allocations: 2.842 MB / 473.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1435, allocations: 0 / 473.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1435, allocations: 0 / 473.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1436, allocations: 4 kB / 473.4 MB, free: 2.379 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001402/0.145, allocations: 0.616 MB / 474.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.145, allocations: 12.03 kB / 474.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.1451, allocations: 7.922 kB / 474.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.1452, allocations: 163.1 kB / 474.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.1453, allocations: 0 / 474.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.1453, allocations: 4 kB / 474.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.1455, allocations: 41.64 kB / 474.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1455, allocations: 0 / 474.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1455, allocations: 11.86 kB / 474.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.1455, allocations: 7.984 kB / 474.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.118e-05/0.1456, allocations: 8 kB / 474.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.1458, allocations: 165.6 kB / 474.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.935e-05/0.1458, allocations: 34.58 kB / 474.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.1459, allocations: 16.88 kB / 474.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01874/0.1646, allocations: 9.933 MB / 484.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.1647, allocations: 42.5 kB / 484.5 MB, free: 5.441 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.216e-06/0.1647, allocations: 3.938 kB / 484.5 MB, free: 5.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002292/0.165, allocations: 73.59 kB / 484.6 MB, free: 5.359 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.165, allocations: 51.41 kB / 484.6 MB, free: 5.297 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.1651, allocations: 97.86 kB / 484.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1651, allocations: 29.69 kB / 484.7 MB, free: 5.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.1652, allocations: 80.14 kB / 484.8 MB, free: 5.074 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.1652, allocations: 27.81 kB / 484.8 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.1652, allocations: 13.72 kB / 484.9 MB, free: 5.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1654, allocations: 318.8 kB / 485.2 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.1654, allocations: 8 kB / 485.2 MB, free: 4.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.1654, allocations: 12 kB / 485.2 MB, free: 4.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.041e-05/0.1655, allocations: 40.77 kB / 485.2 MB, free: 4.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1655, allocations: 4 kB / 485.2 MB, free: 4.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.016e-05/0.1656, allocations: 53.69 kB / 485.3 MB, free: 4.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1656, allocations: 9.969 kB / 485.3 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1656, allocations: 8.062 kB / 485.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1657, allocations: 0 / 485.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.1657, allocations: 0 / 485.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1657, allocations: 0 / 485.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.1657, allocations: 0 / 485.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1657, allocations: 3.938 kB / 485.3 MB, free: 4.562 MB / 366.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.821e-05/0.1658, allocations: 120.9 kB / 485.4 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.1658, allocations: 7.844 kB / 485.4 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.166, allocations: 178.7 kB / 485.6 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.293e-05/0.166, allocations: 176.3 kB / 485.8 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-05/0.1661, allocations: 104.9 kB / 485.9 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.796e-05/0.1662, allocations: 182.1 kB / 486.1 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-05/0.1662, allocations: 184.2 kB / 486.2 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.744e-05/0.1663, allocations: 104.9 kB / 486.3 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.1664, allocations: 184.3 kB / 486.5 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.393e-05/0.1665, allocations: 263.5 kB / 486.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001791/0.1667, allocations: 379 kB / 487.1 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.392e-05/0.1668, allocations: 104.9 kB / 487.3 MB, free: 2.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.99e-05/0.1668, allocations: 103.3 kB / 487.4 MB, free: 2.379 MB / 366.1 MB Notification: Performance of Backend: time 5.41e-07/0.1668, allocations: 0 / 487.4 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003638/0.1705, allocations: 0.9784 MB / 488.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of SimCode: time 0.0007754/0.1713, allocations: 0.9005 MB / 489.2 MB, free: 452 kB / 366.1 MB Notification: Performance of Templates: time 0.03174/0.203, allocations: 19.67 MB / 0.497 GB, free: 12.76 MB / 398.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1)