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.000957/0.000957, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00088/0.00088, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.05589/0.05589, allocations: 12.76 MB / 273.8 MB, free: 124 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 1.763e-06/1.763e-06, allocations: 0 / 347.9 MB, free: 2.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.986e-05, allocations: 2.312 kB / 347.9 MB, free: 2.16 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_2element): time 0.00377/0.00379, allocations: 2.523 MB / 350.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.005053, allocations: 0.6115 MB / 351.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.005174, allocations: 11.94 kB / 351.1 MB, free: 15 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.005312, allocations: 23.72 kB / 351.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.005536, allocations: 67.41 kB / 351.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.005732, allocations: 63.78 kB / 351.2 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.006024, allocations: 242.7 kB / 351.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.006153, allocations: 25.8 kB / 351.5 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.006439, allocations: 131.7 kB / 351.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.006605, allocations: 67.81 kB / 351.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.006635, allocations: 15.94 kB / 351.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.853e-05/0.006664, allocations: 12 kB / 351.7 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.006707, allocations: 39.83 kB / 351.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.417e-05/0.006781, allocations: 51.92 kB / 351.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.006988, allocations: 131.5 kB / 351.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.00699, allocations: 0 / 351.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.006991, allocations: 0 / 351.9 MB, free: 14.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.006996, allocations: 4 kB / 351.9 MB, free: 14.14 MB / 330.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.0006799/0.007676, allocations: 496.1 kB / 352.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.007714, allocations: 11.98 kB / 352.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.007784, allocations: 32.8 kB / 352.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.008038, allocations: 172.2 kB / 352.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.703e-05/0.008125, allocations: 68.19 kB / 352.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.008156, allocations: 16.38 kB / 352.7 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.008398, allocations: 147.3 kB / 352.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.008411, allocations: 192 / 352.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.008427, allocations: 3.938 kB / 352.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.008435, allocations: 4 kB / 352.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.008557, allocations: 57.03 kB / 352.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.009226, allocations: 396.3 kB / 353.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.009578, allocations: 107 kB / 353.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.009639, allocations: 39.59 kB / 353.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.009656, allocations: 4 kB / 353.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.009789, allocations: 102.7 kB / 353.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.923e-06/0.009791, allocations: 4 kB / 353.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002763/0.01007, allocations: 124.4 kB / 353.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.01011, allocations: 55.34 kB / 353.7 MB, free: 12.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.01032, allocations: 216 kB / 353.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.01034, allocations: 29.7 kB / 354 MB, free: 11.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.01043, allocations: 170.5 kB / 354.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.01048, allocations: 43.62 kB / 354.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.445e-05/0.01054, allocations: 39.34 kB / 354.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.01069, allocations: 0.4923 MB / 354.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.782e-05/0.01073, allocations: 19.89 kB / 354.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.548e-05/0.0108, allocations: 47.03 kB / 354.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.01092, allocations: 75.14 kB / 354.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01093, allocations: 0 / 354.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002021/0.01113, allocations: 117.5 kB / 355 MB, free: 10.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01114, allocations: 8 kB / 355 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01115, allocations: 0 / 355 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.01116, allocations: 3.984 kB / 355 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.01143, allocations: 47.91 kB / 355 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.01144, allocations: 0 / 355 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.819e-05/0.01154, allocations: 15.92 kB / 355 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.01155, allocations: 8.031 kB / 355 MB, free: 10.77 MB / 330.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.0001532/0.0117, allocations: 172.5 kB / 355.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.01174, allocations: 23.83 kB / 355.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.01197, allocations: 114.4 kB / 355.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01197, allocations: 4.031 kB / 355.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.01197, allocations: 3.938 kB / 355.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.01198, allocations: 8 kB / 355.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000619/0.0126, allocations: 389.8 kB / 355.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.0126, allocations: 0 / 355.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.01282, allocations: 35.97 kB / 355.8 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01283, allocations: 0 / 355.8 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.01284, allocations: 7.984 kB / 355.8 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.01285, allocations: 11.88 kB / 355.8 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.01285, allocations: 0 / 355.8 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.01318, allocations: 282.5 kB / 356.1 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.0132, allocations: 11.91 kB / 356.1 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.01323, allocations: 4 kB / 356.1 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.01335, allocations: 11.92 kB / 356.1 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.0134, allocations: 11.98 kB / 356.1 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.01342, allocations: 7.984 kB / 356.1 MB, free: 9.633 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.084e-05/0.01349, allocations: 150 kB / 356.3 MB, free: 9.488 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01349, allocations: 0 / 356.3 MB, free: 9.488 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002904/0.01378, allocations: 39.95 kB / 356.3 MB, free: 9.449 MB / 330.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 0.0001099/0.01389, allocations: 103.2 kB / 356.4 MB, free: 9.336 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.01408, allocations: 75.56 kB / 356.5 MB, free: 9.258 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01408, allocations: 0 / 356.5 MB, free: 9.258 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.01416, allocations: 39.67 kB / 356.5 MB, free: 9.215 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.01452, allocations: 35.91 kB / 356.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.01595, allocations: 370.6 kB / 356.9 MB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.502e-05/0.01601, allocations: 71.83 kB / 357 MB, free: 8.695 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.551e-05/0.01609, allocations: 17.14 kB / 357 MB, free: 8.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.01623, allocations: 102.1 kB / 357.1 MB, free: 8.578 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01623, allocations: 0 / 357.1 MB, free: 8.578 MB / 330.7 MB Notification: Performance of Templates: time 0.005262/0.02149, allocations: 1.941 MB / 359 MB, free: 6.68 MB / 330.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 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7743761548772454]