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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009787/0.0009787, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009917/0.0009917, allocations: 173 kB / 23.03 MB, free: 1.539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9438/0.9438, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.03118/0.03118, allocations: 7.523 MB / 267.5 MB, free: 6.008 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.447e-05, allocations: 2.312 kB / 338.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01187/0.01189, allocations: 17 MB / 355.6 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.01608, allocations: 5.814 MB / 361.4 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.01611, allocations: 0 / 361.4 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005381/0.01665, allocations: 235.8 kB / 361.7 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.824e-05/0.01669, allocations: 27.83 kB / 361.7 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007115/0.02381, allocations: 4.29 MB / 366 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.907e-05/0.0239, allocations: 63.61 kB / 366 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.02394, allocations: 4 kB / 366 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.163e-05/0.02402, allocations: 39.78 kB / 366.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.03e-05/0.02405, allocations: 8 kB / 366.1 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.02406, allocations: 0 / 366.1 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005683/0.02975, allocations: 4.704 MB / 370.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.02976, allocations: 3.938 kB / 370.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.02981, allocations: 8 kB / 370.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004451/0.03426, allocations: 2.723 MB / 373.5 MB, free: 7.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.03426, allocations: 0 / 373.5 MB, free: 7.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.03426, allocations: 4 kB / 373.5 MB, free: 7.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.03427, allocations: 0 / 373.5 MB, free: 7.977 MB / 298.7 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.001079/0.03535, allocations: 0.6574 MB / 374.2 MB, free: 7.281 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.03539, allocations: 12.62 kB / 374.2 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.03543, allocations: 3.938 kB / 374.2 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.566e-05/0.03552, allocations: 120 kB / 374.3 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.03553, allocations: 0 / 374.3 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.03553, allocations: 0 / 374.3 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.471e-05/0.03562, allocations: 29.7 kB / 374.4 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.03563, allocations: 0 / 374.4 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.03564, allocations: 4 kB / 374.4 MB, free: 7.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.03564, allocations: 0 / 374.4 MB, free: 7.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.456e-05/0.03566, allocations: 11.94 kB / 374.4 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.03579, allocations: 120.6 kB / 374.5 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.354e-05/0.03584, allocations: 31 kB / 374.5 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.03585, allocations: 15.72 kB / 374.5 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006958/0.04281, allocations: 2.844 MB / 377.4 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.04284, allocations: 33.39 kB / 377.4 MB, free: 3.961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.04284, allocations: 0 / 377.4 MB, free: 3.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001511/0.04299, allocations: 65.88 kB / 377.5 MB, free: 3.891 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.04302, allocations: 59.28 kB / 377.5 MB, free: 3.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.04308, allocations: 157.9 kB / 377.7 MB, free: 3.648 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.04309, allocations: 25.7 kB / 377.7 MB, free: 3.617 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.04312, allocations: 126.9 kB / 377.8 MB, free: 3.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.04315, allocations: 23.8 kB / 377.9 MB, free: 3.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.04318, allocations: 27.31 kB / 377.9 MB, free: 3.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.04328, allocations: 0.4884 MB / 378.4 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.0433, allocations: 4 kB / 378.4 MB, free: 2.926 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/0.0433, allocations: 7.984 kB / 378.4 MB, free: 2.918 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.04333, allocations: 27.88 kB / 378.4 MB, free: 2.887 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.04334, allocations: 0 / 378.4 MB, free: 2.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.845e-05/0.04338, allocations: 49.62 kB / 378.5 MB, free: 2.832 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.0434, allocations: 4 kB / 378.5 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.0434, allocations: 4 kB / 378.5 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.04341, allocations: 0 / 378.5 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.427e-06/0.04342, allocations: 0 / 378.5 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.04342, allocations: 3.938 kB / 378.5 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.04344, allocations: 7.891 kB / 378.5 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.04344, allocations: 0 / 378.5 MB, free: 2.812 MB / 298.7 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 5.925e-05/0.0435, allocations: 156.6 kB / 378.6 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-06/0.04351, allocations: 8.031 kB / 378.6 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.04363, allocations: 242.6 kB / 378.9 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.695e-05/0.04369, allocations: 272 kB / 379.1 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.316e-05/0.04374, allocations: 268 kB / 379.4 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.204e-05/0.04379, allocations: 264.1 kB / 379.7 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.04396, allocations: 0.5037 MB / 380.2 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-05/0.04399, allocations: 144.9 kB / 380.3 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.006e-05/0.04402, allocations: 152.9 kB / 380.5 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.407e-05/0.04407, allocations: 272.1 kB / 380.7 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/0.04412, allocations: 268 kB / 381 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.287e-05/0.04419, allocations: 272.1 kB / 381.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.927e-05/0.04423, allocations: 264.1 kB / 381.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.04435, allocations: 451.9 kB / 382 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.04438, allocations: 152.8 kB / 382.1 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.04445, allocations: 276 kB / 382.4 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.0445, allocations: 144.9 kB / 382.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.04456, allocations: 276 kB / 382.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.04459, allocations: 152.8 kB / 382.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.078e-05/0.04464, allocations: 143.2 kB / 383.1 MB, free: 14 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.04464, allocations: 0 / 383.1 MB, free: 14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001019/0.04566, allocations: 0.6075 MB / 383.7 MB, free: 13.39 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001799/0.04746, allocations: 1.175 MB / 384.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.044e-05/0.04753, allocations: 15.69 kB / 384.9 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.04753, allocations: 4 kB / 384.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.04753, allocations: 4.062 kB / 384.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.0479, allocations: 0.7295 MB / 385.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.04843, allocations: 269.4 kB / 385.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.887e-05/0.04846, allocations: 59.23 kB / 385.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.812e-05/0.04848, allocations: 3.906 kB / 385.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/0.04849, allocations: 12.5 kB / 385.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.04849, allocations: 0 / 385.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of Templates: time 0.02383/0.07233, allocations: 24.45 MB / 410.4 MB, free: 2.609 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile [Timeout 660] (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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.445512411184609]