Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.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.001092/0.001092, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.00151/0.00151, allocations: 177 kB / 23.36 MB, free: 1.129 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.9889/0.9889, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.06405/0.06405, allocations: 12.76 MB / 273 MB, free: 176 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_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 293.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.41e-05, allocations: 4.656 kB / 293.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_2element): time 0.00411/0.004134, allocations: 2.553 MB / 296.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.005555, allocations: 0.6369 MB / 297.1 MB, free: 9.844 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.005712, allocations: 7.656 kB / 297.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.00586, allocations: 26.3 kB / 297.1 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.006134, allocations: 67.98 kB / 297.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.00637, allocations: 63.17 kB / 297.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.006723, allocations: 240 kB / 297.5 MB, free: 9.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.006856, allocations: 30.03 kB / 297.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.007232, allocations: 127.6 kB / 297.7 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.007473, allocations: 67.39 kB / 297.7 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.007511, allocations: 20.38 kB / 297.7 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.19e-05/0.007553, allocations: 12.28 kB / 297.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.007594, allocations: 30.94 kB / 297.8 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.155e-05/0.007686, allocations: 62.25 kB / 297.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.00799, allocations: 133.2 kB / 298 MB, free: 9.426 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.007994, allocations: 0 / 298 MB, free: 9.426 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.007995, allocations: 0 / 298 MB, free: 9.426 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.008001, allocations: 1.344 kB / 298 MB, free: 9.426 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006591/0.00866, allocations: 367 kB / 298.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.008702, allocations: 13.08 kB / 298.3 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.342e-05/0.008776, allocations: 22.11 kB / 298.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.009033, allocations: 171.6 kB / 298.5 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.009101, allocations: 63.66 kB / 298.6 MB, free: 8.891 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.009134, allocations: 17.09 kB / 298.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.009392, allocations: 140.7 kB / 298.8 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.009405, allocations: 4.188 kB / 298.8 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.009422, allocations: 9.797 kB / 298.8 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.009431, allocations: 3.469 kB / 298.8 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.009556, allocations: 42.66 kB / 298.8 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.01013, allocations: 277.6 kB / 299.1 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.01046, allocations: 88.59 kB / 299.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.01052, allocations: 27.7 kB / 299.2 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.01054, allocations: 8.578 kB / 299.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.01067, allocations: 108.2 kB / 299.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.943e-06/0.01067, allocations: 0 / 299.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002232/0.01089, allocations: 97.58 kB / 299.4 MB, free: 8.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.01091, allocations: 56.72 kB / 299.5 MB, free: 8.344 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.01101, allocations: 149.7 kB / 299.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.01103, allocations: 30.86 kB / 299.6 MB, free: 8.188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.01108, allocations: 111.7 kB / 299.7 MB, free: 8.086 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.01112, allocations: 44.28 kB / 299.8 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.01118, allocations: 36.66 kB / 299.8 MB, free: 8.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.01122, allocations: 330.7 kB / 300.1 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-05/0.01127, allocations: 11.11 kB / 300.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/0.01133, allocations: 40.5 kB / 300.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.01145, allocations: 69.02 kB / 300.3 MB, free: 7.637 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01146, allocations: 0 / 300.3 MB, free: 7.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001749/0.01163, allocations: 93.42 kB / 300.4 MB, free: 7.594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.01165, allocations: 6.438 kB / 300.4 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01166, allocations: 0.5469 kB / 300.4 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.01167, allocations: 6.781 kB / 300.4 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.01198, allocations: 54.64 kB / 300.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.01199, allocations: 1.156 kB / 300.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.072e-05/0.01208, allocations: 21.42 kB / 300.4 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.01209, allocations: 3.672 kB / 300.4 MB, free: 7.574 MB / 266.7 MB Warning: Assuming fixed start value for the following 2 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 17 * 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.0001237/0.01221, allocations: 136.8 kB / 300.6 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.01224, allocations: 14.84 kB / 300.6 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.01241, allocations: 85.83 kB / 300.7 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01241, allocations: 1.469 kB / 300.7 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01241, allocations: 5.062 kB / 300.7 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.01242, allocations: 1.078 kB / 300.7 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.01276, allocations: 272.1 kB / 301 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01276, allocations: 4 kB / 301 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.01301, allocations: 40.17 kB / 301 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01301, allocations: 1.281 kB / 301 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.01303, allocations: 6.328 kB / 301 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01303, allocations: 1.469 kB / 301 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01303, allocations: 0 / 301 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.01326, allocations: 206.3 kB / 301.2 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.01328, allocations: 11.47 kB / 301.2 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.01331, allocations: 6.609 kB / 301.2 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.01342, allocations: 12.25 kB / 301.2 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.01347, allocations: 10.05 kB / 301.2 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.01349, allocations: 6.281 kB / 301.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.645e-05/0.01353, allocations: 34.75 kB / 301.3 MB, free: 7 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01353, allocations: 0 / 301.3 MB, free: 7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002717/0.01381, allocations: 47.45 kB / 301.3 MB, free: 6.988 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (arteries.volume) * 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 (13): * Single equations (assignments): 10 * 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 9.631e-05/0.0139, allocations: 87.67 kB / 301.4 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.01407, allocations: 65.44 kB / 301.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.01407, allocations: 1.375 kB / 301.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/0.01414, allocations: 33.11 kB / 301.5 MB, free: 6.883 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.01442, allocations: 35.42 kB / 301.5 MB, free: 6.871 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.01583, allocations: 391 kB / 301.9 MB, free: 6.609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.74e-05/0.01587, allocations: 68.86 kB / 302 MB, free: 6.539 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.743e-05/0.01597, allocations: 19.3 kB / 302 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.0161, allocations: 76.47 kB / 302.1 MB, free: 6.488 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.0161, allocations: 0 / 302.1 MB, free: 6.488 MB / 266.7 MB Notification: Performance of Templates: time 0.004936/0.02103, allocations: 1.979 MB / 304.1 MB, free: 5.918 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.919810921885073]