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.001539/0.001539, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001464/0.001464, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.417/1.417, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] 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.05042/0.05042, allocations: 7.539 MB / 267.3 MB, free: 9.617 MB / 254.1 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 0.00206/0.00206, allocations: 68.09 kB / 392.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.1018, allocations: 54.93 MB / 447.7 MB, free: 4.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.02071/0.1225, allocations: 15.38 MB / 463 MB, free: 5.207 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006245/0.1287, allocations: 5.152 MB / 468.2 MB, free: 40 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.1288, allocations: 0 / 468.2 MB, free: 40 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006891/0.1294, allocations: 232 kB / 468.4 MB, free: 15.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.734e-05/0.1295, allocations: 27.84 kB / 468.4 MB, free: 15.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0115/0.141, allocations: 4.246 MB / 472.7 MB, free: 11.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.1411, allocations: 51.73 kB / 472.7 MB, free: 11.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.783e-05/0.1412, allocations: 8 kB / 472.7 MB, free: 11.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1413, allocations: 27.86 kB / 472.8 MB, free: 11.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.1414, allocations: 11.88 kB / 472.8 MB, free: 11.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.155e-06/0.1414, allocations: 0 / 472.8 MB, free: 11.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009515/0.1509, allocations: 4.674 MB / 477.5 MB, free: 6.754 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.1509, allocations: 3.938 kB / 477.5 MB, free: 6.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.151, allocations: 11.98 kB / 477.5 MB, free: 6.738 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006257/0.1572, allocations: 2.299 MB / 479.8 MB, free: 4.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1572, allocations: 3.938 kB / 479.8 MB, free: 4.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1572, allocations: 0 / 479.8 MB, free: 4.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1572, allocations: 4 kB / 479.8 MB, free: 4.422 MB / 446.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.00115/0.1584, allocations: 0.5501 MB / 480.3 MB, free: 3.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1584, allocations: 12.62 kB / 480.3 MB, free: 3.828 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.462e-05/0.1585, allocations: 7.891 kB / 480.4 MB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.1586, allocations: 117 kB / 480.5 MB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1586, allocations: 4 kB / 480.5 MB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.1586, allocations: 0 / 480.5 MB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1587, allocations: 37.7 kB / 480.5 MB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.1587, allocations: 0 / 480.5 MB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1587, allocations: 3.938 kB / 480.5 MB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1588, allocations: 7.984 kB / 480.5 MB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.1588, allocations: 16 kB / 480.5 MB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.1589, allocations: 105.3 kB / 480.6 MB, free: 3.473 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.14e-05/0.159, allocations: 30.5 kB / 480.7 MB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.159, allocations: 16.89 kB / 480.7 MB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01582/0.1748, allocations: 3.035 MB / 483.7 MB, free: 384 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.1749, allocations: 30.56 kB / 483.7 MB, free: 344 kB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 4.068e-06/0.1749, allocations: 3.984 kB / 483.8 MB, free: 340 kB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002278/0.1751, allocations: 77.62 kB / 483.8 MB, free: 256 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1751, allocations: 55.34 kB / 483.9 MB, free: 188 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/0.1752, allocations: 97.86 kB / 484 MB, free: 80 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1753, allocations: 25.7 kB / 484 MB, free: 48 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1949/0.3701, allocations: 80.14 kB / 484.1 MB, free: 75.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.002e-05/0.3702, allocations: 23.22 kB / 484.1 MB, free: 75.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.3702, allocations: 22.66 kB / 484.1 MB, free: 75.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.78e-05/0.3703, allocations: 312.6 kB / 484.4 MB, free: 75.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.3703, allocations: 16.94 kB / 484.4 MB, free: 75.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/0.3703, allocations: 13.61 kB / 484.5 MB, free: 75.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.732e-05/0.3704, allocations: 37.02 kB / 484.5 MB, free: 75.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.3704, allocations: 0 / 484.5 MB, free: 75.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.099e-05/0.3705, allocations: 63.42 kB / 484.6 MB, free: 75.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3705, allocations: 6.438 kB / 484.6 MB, free: 75.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3705, allocations: 2.625 kB / 484.6 MB, free: 75.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.3705, allocations: 0 / 484.6 MB, free: 75.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.3705, allocations: 3.75 kB / 484.6 MB, free: 75.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3705, allocations: 0 / 484.6 MB, free: 75.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.3706, allocations: 2.406 kB / 484.6 MB, free: 75.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.3706, allocations: 2.938 kB / 484.6 MB, free: 75.03 MB / 446.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 4.894e-05/0.3706, allocations: 105.8 kB / 484.7 MB, free: 74.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.3706, allocations: 7.047 kB / 484.7 MB, free: 74.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.3707, allocations: 179.2 kB / 484.9 MB, free: 74.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.3708, allocations: 183.3 kB / 485 MB, free: 74.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.399e-05/0.3708, allocations: 188.6 kB / 485.2 MB, free: 74.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/0.3708, allocations: 183.7 kB / 485.4 MB, free: 74.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.3709, allocations: 354.2 kB / 485.8 MB, free: 73.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.3709, allocations: 111.9 kB / 485.9 MB, free: 73.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.361e-05/0.371, allocations: 104.3 kB / 486 MB, free: 73.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.741e-05/0.371, allocations: 179.5 kB / 486.1 MB, free: 73.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.371, allocations: 178.4 kB / 486.3 MB, free: 73.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.329e-05/0.371, allocations: 180 kB / 486.5 MB, free: 73.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.521e-05/0.3711, allocations: 186.6 kB / 486.7 MB, free: 72.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.193e-05/0.3711, allocations: 309 kB / 487 MB, free: 72.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.3711, allocations: 114.1 kB / 487.1 MB, free: 72.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.3712, allocations: 180.2 kB / 487.3 MB, free: 72.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.3713, allocations: 104.1 kB / 487.4 MB, free: 72.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.3713, allocations: 183.2 kB / 487.5 MB, free: 72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3713, allocations: 108.2 kB / 487.6 MB, free: 71.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.08e-05/0.3713, allocations: 102.2 kB / 487.7 MB, free: 71.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3713, allocations: 1.75 kB / 487.7 MB, free: 71.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001425/0.3728, allocations: 0.6062 MB / 488.4 MB, free: 71.81 MB / 446.1 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.002128/0.3749, allocations: 1.036 MB / 489.4 MB, free: 71.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.743e-05/0.375, allocations: 17.25 kB / 489.4 MB, free: 71.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.375, allocations: 5.453 kB / 489.4 MB, free: 71.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.375, allocations: 0 / 489.4 MB, free: 71.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.3754, allocations: 0.495 MB / 489.9 MB, free: 71.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.3757, allocations: 207.6 kB / 490.1 MB, free: 70.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.3757, allocations: 61.27 kB / 490.2 MB, free: 70.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.189e-05/0.3757, allocations: 4.766 kB / 490.2 MB, free: 70.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.252e-05/0.3758, allocations: 14.84 kB / 490.2 MB, free: 70.82 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3758, allocations: 0 / 490.2 MB, free: 70.82 MB / 446.1 MB Notification: Performance of Templates: time 0.02477/0.4005, allocations: 19.6 MB / 0.4978 GB, free: 69.73 MB / 446.1 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=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.380444518988952] Failed to read output from testmodel.py, exit status != 0: 0.40947510208934546 0.42121639200000005 0.26119405100000004 Calling exit ...