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.001049/0.001049, allocations: 106.8 kB / 16.41 MB, free: 6.465 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.001044/0.001044, allocations: 192.2 kB / 17.35 MB, free: 5.715 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.269/1.269, 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.04641/0.04641, allocations: 9.096 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.002322/0.002322, allocations: 72.95 kB / 388.1 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07807/0.08041, allocations: 48.18 MB / 436.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01617/0.09662, allocations: 16.89 MB / 453.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00548/0.1021, allocations: 5.806 MB / 459 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.1022, allocations: 0 / 459 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000603/0.1028, allocations: 263.7 kB / 459.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.1029, allocations: 31.81 kB / 459.3 MB, free: 0.5469 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.008455/0.1114, allocations: 4.096 MB / 463.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.021e-05/0.1115, allocations: 59.67 kB / 463.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.1115, allocations: 0 / 463.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.641e-05/0.1116, allocations: 27.86 kB / 463.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.952e-05/0.1116, allocations: 19.86 kB / 463.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.805e-06/0.1117, allocations: 0 / 463.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009307/0.121, allocations: 6.874 MB / 470.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.121, allocations: 0 / 470.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.121, allocations: 11.94 kB / 470.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004343/0.1254, allocations: 2.842 MB / 473.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1254, allocations: 0 / 473.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1254, allocations: 0 / 473.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1254, allocations: 0 / 473.2 MB, free: 2.598 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.0009622/0.1264, allocations: 0.6238 MB / 473.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1264, allocations: 8.031 kB / 473.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.1265, allocations: 3.938 kB / 473.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1266, allocations: 167.1 kB / 474 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1266, allocations: 4 kB / 474 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.1266, allocations: 0 / 474 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.895e-05/0.1267, allocations: 37.7 kB / 474 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1267, allocations: 0 / 474 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1267, allocations: 3.938 kB / 474 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1268, allocations: 3.984 kB / 474.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.1268, allocations: 11.94 kB / 474.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.127, allocations: 169.6 kB / 474.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.504e-05/0.127, allocations: 34.58 kB / 474.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.127, allocations: 24.88 kB / 474.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01807/0.1451, allocations: 9.925 MB / 484.2 MB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.1452, allocations: 42.5 kB / 484.3 MB, free: 5.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/0.1452, allocations: 0 / 484.3 MB, free: 5.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001873/0.1454, allocations: 77.52 kB / 484.3 MB, free: 5.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1454, allocations: 55.41 kB / 484.4 MB, free: 5.516 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.596e-05/0.1455, allocations: 97.86 kB / 484.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.1455, allocations: 25.7 kB / 484.5 MB, free: 5.379 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.1456, allocations: 84.12 kB / 484.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.1456, allocations: 19.66 kB / 484.6 MB, free: 5.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.1457, allocations: 21.88 kB / 484.6 MB, free: 5.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1458, allocations: 314.8 kB / 484.9 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.1458, allocations: 12 kB / 484.9 MB, free: 4.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.1458, allocations: 8 kB / 485 MB, free: 4.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.732e-05/0.1459, allocations: 40.78 kB / 485 MB, free: 4.867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1459, allocations: 0 / 485 MB, free: 4.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.934e-05/0.146, allocations: 62 kB / 485.1 MB, free: 4.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.146, allocations: 7.938 kB / 485.1 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.146, allocations: 4.047 kB / 485.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.146, allocations: 4 kB / 485.1 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.146, allocations: 3.938 kB / 485.1 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.146, allocations: 0 / 485.1 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.1461, allocations: 3.938 kB / 485.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.1461, allocations: 4 kB / 485.1 MB, free: 4.773 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 6.278e-05/0.1462, allocations: 108.9 kB / 485.2 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.1462, allocations: 11.83 kB / 485.2 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.1463, allocations: 174.7 kB / 485.4 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-05/0.1464, allocations: 180.3 kB / 485.5 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.062e-05/0.1464, allocations: 104.9 kB / 485.6 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.1465, allocations: 190.1 kB / 485.8 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.1466, allocations: 176.3 kB / 486 MB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.1467, allocations: 104.9 kB / 486.1 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.1467, allocations: 184.3 kB / 486.3 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.424e-05/0.1468, allocations: 259.5 kB / 486.5 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001533/0.147, allocations: 379 kB / 486.9 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.795e-05/0.147, allocations: 108.9 kB / 487 MB, free: 2.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.472e-05/0.1471, allocations: 103.3 kB / 487.1 MB, free: 2.598 MB / 366.1 MB Notification: Performance of Backend: time 4.01e-07/0.1471, allocations: 4 kB / 487.1 MB, free: 2.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002924/0.15, allocations: 0.9765 MB / 488.1 MB, free: 1.613 MB / 366.1 MB Notification: Performance of SimCode: time 0.0006656/0.1507, allocations: 0.9004 MB / 489 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of Templates: time 0.02873/0.1795, allocations: 19.68 MB / 0.4968 GB, free: 12.97 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)