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.001524/0.001524, allocations: 78.66 kB / 19.18 MB, free: 2.52 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.001592/0.001592, allocations: 169.3 kB / 22.46 MB, free: 5.375 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.351/1.351, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 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.04823/0.04823, allocations: 7.527 MB / 266.7 MB, free: 9.648 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 1.332e-06/1.332e-06, allocations: 3.938 kB / 392.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.765e-05, allocations: 2.281 kB / 392.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01846/0.01847, allocations: 15.38 MB / 407.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005878/0.02435, allocations: 5.152 MB / 412.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.02438, allocations: 4 kB / 412.8 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005672/0.02494, allocations: 235.8 kB / 413 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.02498, allocations: 19.84 kB / 413 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008837/0.03382, allocations: 4.303 MB / 417.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.823e-05/0.03391, allocations: 55.67 kB / 417.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.03394, allocations: 3.984 kB / 417.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.04e-05/0.03404, allocations: 43.8 kB / 417.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.229e-05/0.03407, allocations: 4 kB / 417.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.03408, allocations: 0 / 417.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007027/0.0411, allocations: 4.7 MB / 422.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.04112, allocations: 3.938 kB / 422.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.04114, allocations: 12 kB / 422.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00416/0.0453, allocations: 2.716 MB / 424.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.04531, allocations: 4 kB / 424.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.04531, allocations: 0 / 424.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.04532, allocations: 0 / 424.8 MB, free: 9.664 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.0009469/0.04626, allocations: 0.5578 MB / 425.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.0463, allocations: 8.625 kB / 425.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.04633, allocations: 3.938 kB / 425.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.04643, allocations: 113.2 kB / 425.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-06/0.04644, allocations: 0 / 425.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.04645, allocations: 3.984 kB / 425.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.939e-05/0.04655, allocations: 45.69 kB / 425.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.04656, allocations: 4 kB / 425.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-06/0.04656, allocations: 0 / 425.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.04657, allocations: 4 kB / 425.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.591e-05/0.0466, allocations: 15.88 kB / 425.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.04675, allocations: 113.3 kB / 425.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.228e-05/0.0468, allocations: 30.52 kB / 425.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.04683, allocations: 28.86 kB / 425.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01501/0.06184, allocations: 3.024 MB / 428.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.06187, allocations: 34.56 kB / 428.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.06187, allocations: 0 / 428.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001678/0.06204, allocations: 69.69 kB / 428.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.06209, allocations: 59.33 kB / 429 MB, free: 5.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.06216, allocations: 101.8 kB / 429.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.06218, allocations: 25.7 kB / 429.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.06222, allocations: 80.14 kB / 429.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.06225, allocations: 23.95 kB / 429.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.06229, allocations: 21.64 kB / 429.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.06243, allocations: 314.8 kB / 429.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.06245, allocations: 8 kB / 429.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.06247, allocations: 23.98 kB / 429.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/0.06251, allocations: 28.86 kB / 429.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.06251, allocations: 0 / 429.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.581e-05/0.06261, allocations: 69.62 kB / 429.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.06262, allocations: 10.03 kB / 429.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.06263, allocations: 0 / 429.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.06264, allocations: 64 / 429.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.599e-06/0.06264, allocations: 11.92 kB / 429.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.06265, allocations: 3.938 kB / 429.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.06266, allocations: 0 / 429.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.06267, allocations: 4 kB / 429.7 MB, free: 4.668 MB / 350.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.171e-05/0.06274, allocations: 105.8 kB / 429.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.06275, allocations: 4 kB / 429.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.0629, allocations: 171 kB / 429.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.635e-05/0.06299, allocations: 188.2 kB / 430.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-05/0.06307, allocations: 184.2 kB / 430.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.207e-05/0.06315, allocations: 176.3 kB / 430.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.06338, allocations: 368.8 kB / 430.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.202e-05/0.06343, allocations: 101 kB / 430.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-05/0.06348, allocations: 108.9 kB / 431 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.143e-05/0.06356, allocations: 180.3 kB / 431.2 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.47e-05/0.06363, allocations: 184.2 kB / 431.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.839e-05/0.06371, allocations: 180.2 kB / 431.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-05/0.0638, allocations: 184.3 kB / 431.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.06395, allocations: 303.7 kB / 432 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.06401, allocations: 112.9 kB / 432.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.849e-05/0.0641, allocations: 180.2 kB / 432.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-05/0.0642, allocations: 105 kB / 432.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.151e-05/0.06429, allocations: 188.2 kB / 432.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/0.06433, allocations: 108.9 kB / 432.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.613e-05/0.06441, allocations: 99.27 kB / 432.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.06441, allocations: 0 / 432.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001283/0.06569, allocations: 0.6075 MB / 433.4 MB, free: 0.6992 MB / 350.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.002538/0.06823, allocations: 1.118 MB / 434.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.153e-05/0.0683, allocations: 15.98 kB / 434.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.06831, allocations: 4 kB / 434.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.06831, allocations: 0 / 434.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.06887, allocations: 491.9 kB / 435 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.06915, allocations: 192.1 kB / 435.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.295e-05/0.06921, allocations: 67.28 kB / 435.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.613e-05/0.06922, allocations: 0 / 435.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.06924, allocations: 12.5 kB / 435.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.06924, allocations: 0 / 435.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Templates: time 0.1545/0.2237, allocations: 19.69 MB / 455 MB, free: 68.02 MB / 366.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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.754834495484829] Failed to read output from testmodel.py, exit status != 0: 0.23142752796411514 0.24088261000000002 0.19349750200000002 Calling exit ...