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.0008653/0.0008653, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.000918/0.000918, 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 0.9566/0.9566, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.05627/0.05627, allocations: 12.76 MB / 273.8 MB, free: 104 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 1.292e-06/1.292e-06, allocations: 0 / 347.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.517e-05, allocations: 4.844 kB / 347.9 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.002499/0.002514, allocations: 2.688 MB / 350.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.003769, allocations: 0.6544 MB / 351.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.003904, allocations: 7.938 kB / 351.3 MB, free: 13.6 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.004048, allocations: 31.7 kB / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.004279, allocations: 95.17 kB / 351.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.004466, allocations: 67.78 kB / 351.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.004772, allocations: 290.5 kB / 351.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.004905, allocations: 37.78 kB / 351.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.00518, allocations: 159.6 kB / 351.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.005345, allocations: 83.73 kB / 352 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.005374, allocations: 16 kB / 352 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.867e-05/0.005402, allocations: 16 kB / 352 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.005444, allocations: 39.83 kB / 352.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.021e-05/0.005524, allocations: 75.83 kB / 352.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.005751, allocations: 159.5 kB / 352.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005753, allocations: 0 / 352.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005754, allocations: 4 kB / 352.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.005757, allocations: 0 / 352.3 MB, free: 12.54 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.0005871/0.006345, allocations: 0.5114 MB / 352.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.006379, allocations: 15.98 kB / 352.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.006446, allocations: 36.8 kB / 352.9 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.00668, allocations: 198.2 kB / 353.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.84e-05/0.006768, allocations: 119.4 kB / 353.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.006798, allocations: 16.38 kB / 353.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.007035, allocations: 161.9 kB / 353.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.007047, allocations: 192 / 353.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.007063, allocations: 7.938 kB / 353.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.007071, allocations: 4 kB / 353.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.007189, allocations: 59.8 kB / 353.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.007803, allocations: 459.5 kB / 353.9 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.008103, allocations: 107 kB / 354 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.008161, allocations: 39.66 kB / 354 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.00818, allocations: 12.17 kB / 354 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.008311, allocations: 118.6 kB / 354.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.008313, allocations: 0 / 354.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002587/0.008572, allocations: 140.2 kB / 354.3 MB, free: 10.4 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.008603, allocations: 55.41 kB / 354.3 MB, free: 10.33 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.008728, allocations: 216.6 kB / 354.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.00875, allocations: 33.64 kB / 354.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.00884, allocations: 179.1 kB / 354.8 MB, free: 9.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.00888, allocations: 47.62 kB / 354.8 MB, free: 9.836 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.008945, allocations: 51.3 kB / 354.9 MB, free: 9.777 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.009085, allocations: 0.4962 MB / 355.4 MB, free: 9.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.931e-05/0.009125, allocations: 15.98 kB / 355.4 MB, free: 9.254 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.998e-05/0.009195, allocations: 66.7 kB / 355.4 MB, free: 9.172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.009323, allocations: 98.53 kB / 355.5 MB, free: 9.062 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.009326, allocations: 0 / 355.5 MB, free: 9.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001878/0.009513, allocations: 125.4 kB / 355.7 MB, free: 8.934 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.009527, allocations: 8 kB / 355.7 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.009532, allocations: 0 / 355.7 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.009542, allocations: 0 / 355.7 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.009852, allocations: 71.95 kB / 355.7 MB, free: 8.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.009858, allocations: 7.984 kB / 355.7 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.009944, allocations: 15.89 kB / 355.8 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.009955, allocations: 4 kB / 355.8 MB, free: 8.828 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.0001373/0.01009, allocations: 180.5 kB / 355.9 MB, free: 8.641 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.01013, allocations: 23.84 kB / 356 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.01033, allocations: 127 kB / 356.1 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01033, allocations: 0 / 356.1 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01033, allocations: 7.938 kB / 356.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01034, allocations: 0 / 356.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.01075, allocations: 406.1 kB / 356.5 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01075, allocations: 7.938 kB / 356.5 MB, free: 8.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.01101, allocations: 55.95 kB / 356.6 MB, free: 7.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01101, allocations: 0 / 356.6 MB, free: 7.984 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.01103, allocations: 4 kB / 356.6 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01103, allocations: 0 / 356.6 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01103, allocations: 4 kB / 356.6 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.01131, allocations: 302.5 kB / 356.9 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.01133, allocations: 19.84 kB / 356.9 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.01136, allocations: 4 kB / 356.9 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01146, allocations: 11.98 kB / 356.9 MB, free: 7.629 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.0115, allocations: 11.98 kB / 356.9 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.01152, allocations: 7.984 kB / 356.9 MB, free: 7.609 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.586e-05/0.01158, allocations: 152.8 kB / 357.1 MB, free: 7.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01158, allocations: 0 / 357.1 MB, free: 7.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.01185, allocations: 55.89 kB / 357.1 MB, free: 7.406 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 8.59e-05/0.01194, allocations: 107.2 kB / 357.2 MB, free: 7.289 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.0121, allocations: 83.5 kB / 357.3 MB, free: 7.203 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.0121, allocations: 0 / 357.3 MB, free: 7.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.913e-05/0.01217, allocations: 50.83 kB / 357.4 MB, free: 7.152 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.01247, allocations: 38.83 kB / 357.4 MB, free: 7.117 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.01366, allocations: 406.9 kB / 357.8 MB, free: 6.691 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.166e-05/0.01371, allocations: 71.98 kB / 357.9 MB, free: 6.602 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.676e-05/0.0138, allocations: 29.5 kB / 357.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.01392, allocations: 102.2 kB / 358 MB, free: 6.473 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01392, allocations: 0 / 358 MB, free: 6.473 MB / 282.7 MB Notification: Performance of Templates: time 0.004408/0.01833, allocations: 2.104 MB / 360.1 MB, free: 4.398 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.6378171532414854]