Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.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.001076/0.001076, allocations: 92.22 kB / 19.65 MB, free: 280 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.001218/0.001218, allocations: 169 kB / 23.02 MB, free: 1.551 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.9525/0.9525, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.06359/0.06359, allocations: 12.76 MB / 272.7 MB, free: 292 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_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element") translateModel(Bodylight.Hydraulic.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.145e-06/2.145e-06, allocations: 0 / 346.7 MB, free: 1.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.907e-05, allocations: 2.312 kB / 346.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.00316/0.003189, allocations: 2.694 MB / 349.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.004217, allocations: 0.6621 MB / 350 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.004328, allocations: 3.938 kB / 350 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.004471, allocations: 39.64 kB / 350.1 MB, free: 13.85 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.004702, allocations: 87.25 kB / 350.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.004879, allocations: 75.77 kB / 350.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.00516, allocations: 282.5 kB / 350.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.0053, allocations: 37.78 kB / 350.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.005592, allocations: 159.6 kB / 350.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.005755, allocations: 83.72 kB / 350.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.005784, allocations: 20 kB / 350.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.565e-05/0.00581, allocations: 16 kB / 350.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.005847, allocations: 39.83 kB / 350.9 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.438e-05/0.005921, allocations: 75.83 kB / 350.9 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.006162, allocations: 163.4 kB / 351.1 MB, free: 12.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.006166, allocations: 0 / 351.1 MB, free: 12.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.006168, allocations: 0 / 351.1 MB, free: 12.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.006174, allocations: 0 / 351.1 MB, free: 12.83 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006831/0.006857, allocations: 0.5115 MB / 351.6 MB, free: 12.28 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.006899, allocations: 15.98 kB / 351.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.006975, allocations: 36.8 kB / 351.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.007222, allocations: 192.2 kB / 351.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.007339, allocations: 119.4 kB / 352 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.00737, allocations: 16.38 kB / 352 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.007629, allocations: 177.9 kB / 352.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.007641, allocations: 4.125 kB / 352.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.007661, allocations: 11.94 kB / 352.2 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.00767, allocations: 4 kB / 352.2 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.007805, allocations: 71.8 kB / 352.3 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006879/0.008493, allocations: 479.1 kB / 352.7 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.00883, allocations: 130.9 kB / 352.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/0.008898, allocations: 39.67 kB / 352.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.008926, allocations: 11.94 kB / 352.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.00908, allocations: 115 kB / 353 MB, free: 10.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 2.695e-06/0.009082, allocations: 0 / 353 MB, free: 10.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002874/0.00937, allocations: 157.4 kB / 353.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.009403, allocations: 55.41 kB / 353.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.009534, allocations: 216.7 kB / 353.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.009554, allocations: 29.7 kB / 353.5 MB, free: 10.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.00963, allocations: 183.1 kB / 353.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.009664, allocations: 43.64 kB / 353.7 MB, free: 10.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.009718, allocations: 51.31 kB / 353.7 MB, free: 9.973 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.009841, allocations: 0.4923 MB / 354.2 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.00989, allocations: 23.98 kB / 354.2 MB, free: 9.445 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.009958, allocations: 66.72 kB / 354.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.01009, allocations: 102.7 kB / 354.4 MB, free: 9.246 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01009, allocations: 0 / 354.4 MB, free: 9.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000175/0.01026, allocations: 149.4 kB / 354.6 MB, free: 9.094 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.01028, allocations: 4 kB / 354.6 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01029, allocations: 0 / 354.6 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.0103, allocations: 4 kB / 354.6 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.01056, allocations: 67.95 kB / 354.6 MB, free: 9.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.01056, allocations: 4 kB / 354.6 MB, free: 9.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.66e-05/0.01063, allocations: 23.88 kB / 354.7 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.01064, allocations: 4 kB / 354.7 MB, free: 8.988 MB / 282.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: 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 (20): * Single equations (assignments): 20 * 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.0001361/0.01078, allocations: 168.6 kB / 354.8 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.0108, allocations: 23.84 kB / 354.8 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.01102, allocations: 150.3 kB / 355 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01102, allocations: 0 / 355 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01102, allocations: 0 / 355 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.01103, allocations: 0 / 355 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.01147, allocations: 441.5 kB / 355.4 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.01147, allocations: 0 / 355.4 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.01169, allocations: 71.83 kB / 355.5 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01169, allocations: 0 / 355.5 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.0117, allocations: 4 kB / 355.5 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01171, allocations: 3.984 kB / 355.5 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01171, allocations: 0 / 355.5 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.01199, allocations: 312.1 kB / 355.8 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.01202, allocations: 15.94 kB / 355.8 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.01204, allocations: 4 kB / 355.8 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.01212, allocations: 16.02 kB / 355.8 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.01217, allocations: 19.91 kB / 355.9 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.01218, allocations: 4 kB / 355.9 MB, free: 7.703 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.788e-05/0.01225, allocations: 160.8 kB / 356 MB, free: 7.547 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01225, allocations: 0 / 356 MB, free: 7.547 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.01245, allocations: 51.89 kB / 356.1 MB, free: 7.496 MB / 282.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 (15): * Single equations (assignments): 12 * 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.63e-05/0.01255, allocations: 91.25 kB / 356.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.01272, allocations: 103.5 kB / 356.3 MB, free: 7.289 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01272, allocations: 4.125 kB / 356.3 MB, free: 7.285 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.748e-05/0.01279, allocations: 50.84 kB / 356.3 MB, free: 7.234 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.01305, allocations: 45.56 kB / 356.4 MB, free: 7.191 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.01421, allocations: 402.8 kB / 356.8 MB, free: 6.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.578e-05/0.01425, allocations: 71.98 kB / 356.8 MB, free: 6.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.691e-05/0.01433, allocations: 29.56 kB / 356.9 MB, free: 6.652 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.01438, allocations: 20.5 kB / 356.9 MB, free: 6.633 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01438, allocations: 0 / 356.9 MB, free: 6.633 MB / 282.7 MB Notification: Performance of Templates: time 0.004101/0.01848, allocations: 2.006 MB / 358.9 MB, free: 4.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_3element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6214354638941586]