Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.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.001078/0.001078, allocations: 93.06 kB / 19.65 MB, free: 276 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.001167/0.001167, allocations: 169 kB / 23.02 MB, free: 1.547 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.9499/0.9499, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.06237/0.06237, allocations: 12.75 MB / 272.7 MB, free: 288 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/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(Bodylight.Hydraulic.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 346.7 MB, free: 1.262 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.895e-05, allocations: 6.25 kB / 346.7 MB, free: 1.254 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_4element): time 0.003272/0.003301, allocations: 2.863 MB / 349.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.004504, allocations: 0.6855 MB / 350.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.004645, allocations: 15.88 kB / 350.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.004808, allocations: 35.64 kB / 350.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.005088, allocations: 91.17 kB / 350.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.005287, allocations: 83.77 kB / 350.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.005598, allocations: 342.1 kB / 350.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.005737, allocations: 44.55 kB / 350.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.006029, allocations: 183.6 kB / 351 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.006188, allocations: 95.7 kB / 351.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.006217, allocations: 23.94 kB / 351.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.857e-05/0.006246, allocations: 20 kB / 351.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.006282, allocations: 43.83 kB / 351.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.616e-05/0.006378, allocations: 87.83 kB / 351.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.006619, allocations: 179.4 kB / 351.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.006623, allocations: 4 kB / 351.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.006625, allocations: 0 / 351.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.00663, allocations: 0 / 351.4 MB, free: 12.46 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008302/0.00746, allocations: 0.5464 MB / 352 MB, free: 11.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.007503, allocations: 11.98 kB / 352 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.925e-05/0.007592, allocations: 44.73 kB / 352 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.007833, allocations: 216.7 kB / 352.3 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.908e-05/0.007922, allocations: 119.4 kB / 352.4 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.007953, allocations: 16.38 kB / 352.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.008257, allocations: 196.3 kB / 352.6 MB, free: 11.22 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.00827, allocations: 4.141 kB / 352.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.008286, allocations: 7.938 kB / 352.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.008295, allocations: 8 kB / 352.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.008434, allocations: 87.72 kB / 352.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.009047, allocations: 0.5108 MB / 353.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.009407, allocations: 146.9 kB / 353.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.009576, allocations: 71.64 kB / 353.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.009597, allocations: 0 / 353.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.009763, allocations: 124.8 kB / 353.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.009765, allocations: 0 / 353.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003787/0.01014, allocations: 180.3 kB / 353.7 MB, free: 10.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.01018, allocations: 55.41 kB / 353.8 MB, free: 9.949 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.01032, allocations: 225.9 kB / 354 MB, free: 9.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.01034, allocations: 29.7 kB / 354 MB, free: 9.676 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.01041, allocations: 183 kB / 354.2 MB, free: 9.492 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.01057, allocations: 63.48 kB / 354.3 MB, free: 9.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.01062, allocations: 51.34 kB / 354.3 MB, free: 9.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.01073, allocations: 0.5 MB / 354.8 MB, free: 8.859 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.01078, allocations: 23.98 kB / 354.8 MB, free: 8.836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.01084, allocations: 69.72 kB / 354.9 MB, free: 8.754 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.01102, allocations: 150.8 kB / 355 MB, free: 8.586 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01102, allocations: 0 / 355 MB, free: 8.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001796/0.0112, allocations: 163.6 kB / 355.2 MB, free: 8.422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01121, allocations: 4 kB / 355.2 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01122, allocations: 0 / 355.2 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.01123, allocations: 4 kB / 355.2 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.01149, allocations: 75.94 kB / 355.3 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.01149, allocations: 8.062 kB / 355.3 MB, free: 8.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.448e-05/0.01156, allocations: 19.83 kB / 355.3 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.01157, allocations: 11.98 kB / 355.3 MB, free: 8.301 MB / 282.7 MB Warning: Assuming fixed start value for the following 3 variables: pulses.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of cardiac cycle\" type: Real pulses.T0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"beginning of cardiac cycle\" type: Real inertia.q_in.q:VARIABLE(flow=true unit = \"m3/s\" fixed = true nominal = 1.6666666666666667e-8 ) \"Volume flow\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.pulses.HP,$PRE.pulses.T0,pulses.b,$whenCondition1,pulses.TD2,pulses.HP,pulses.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 prepare postOptimizeDAE: time 0.0001236/0.01169, allocations: 177 kB / 355.5 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.01172, allocations: 19.91 kB / 355.5 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.01192, allocations: 163.3 kB / 355.7 MB, free: 7.934 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01193, allocations: 0 / 355.7 MB, free: 7.934 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01193, allocations: 0 / 355.7 MB, free: 7.934 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01193, allocations: 0 / 355.7 MB, free: 7.934 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.01235, allocations: 0.4908 MB / 356.2 MB, free: 7.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01235, allocations: 4 kB / 356.2 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.01258, allocations: 59.95 kB / 356.2 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01258, allocations: 4 kB / 356.2 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.0126, allocations: 4 kB / 356.2 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.0126, allocations: 0 / 356.2 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.0126, allocations: 7.922 kB / 356.2 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.01287, allocations: 336.1 kB / 356.6 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.01289, allocations: 19.89 kB / 356.6 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.01291, allocations: 8.031 kB / 356.6 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.23e-05/0.01299, allocations: 15.98 kB / 356.6 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.01303, allocations: 11.92 kB / 356.6 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.01305, allocations: 11.98 kB / 356.6 MB, free: 6.914 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.318e-05/0.01311, allocations: 164.2 kB / 356.8 MB, free: 6.754 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01311, allocations: 0 / 356.8 MB, free: 6.754 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001806/0.01329, allocations: 59.89 kB / 356.9 MB, free: 6.695 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (arteries.volume,inertia.q_in.q) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8.488e-05/0.01338, allocations: 95.25 kB / 357 MB, free: 6.594 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.01356, allocations: 107.5 kB / 357.1 MB, free: 6.484 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01356, allocations: 0 / 357.1 MB, free: 6.484 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.01363, allocations: 59.66 kB / 357.1 MB, free: 6.422 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.01389, allocations: 39.91 kB / 357.2 MB, free: 6.383 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.01543, allocations: 0.5121 MB / 357.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.303e-05/0.01548, allocations: 75.98 kB / 357.7 MB, free: 5.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003116/0.01579, allocations: 25.47 kB / 357.8 MB, free: 5.723 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.01584, allocations: 20.5 kB / 357.8 MB, free: 5.703 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01584, allocations: 0 / 357.8 MB, free: 5.703 MB / 282.7 MB Notification: Performance of Templates: time 0.004766/0.0206, allocations: 2.215 MB / 360 MB, free: 3.527 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_4element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.668099937029183]