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.0008904/0.0008904, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0008818/0.0008818, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9535/0.9535, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.06129/0.06129, allocations: 12.76 MB / 273 MB, free: 128 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.202e-06/1.202e-06, allocations: 0 / 347.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192e-05/1.312e-05, allocations: 2.312 kB / 347.1 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_3element): time 0.00228/0.002294, allocations: 2.69 MB / 349.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008015/0.003095, allocations: 0.6544 MB / 350.5 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.314e-05/0.003188, allocations: 7.938 kB / 350.5 MB, free: 13.6 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.0033, allocations: 31.66 kB / 350.5 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.003463, allocations: 87.23 kB / 350.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.003599, allocations: 71.78 kB / 350.7 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.003822, allocations: 294.5 kB / 351 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.003929, allocations: 29.8 kB / 351 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.004144, allocations: 163.5 kB / 351.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.004267, allocations: 79.78 kB / 351.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.00429, allocations: 16 kB / 351.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.346e-05/0.004314, allocations: 20 kB / 351.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.004344, allocations: 39.84 kB / 351.3 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.787e-05/0.004402, allocations: 79.83 kB / 351.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.004571, allocations: 155.5 kB / 351.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004572, allocations: 0 / 351.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004573, allocations: 0 / 351.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.004576, allocations: 0 / 351.5 MB, free: 12.55 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.0004901/0.005066, allocations: 0.5153 MB / 352.1 MB, free: 12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.0051, allocations: 19.92 kB / 352.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.005143, allocations: 36.8 kB / 352.1 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.005315, allocations: 196.2 kB / 352.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.011e-05/0.005385, allocations: 119.4 kB / 352.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.005409, allocations: 16.38 kB / 352.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.005585, allocations: 157.9 kB / 352.6 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.005593, allocations: 192 / 352.6 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.005607, allocations: 15.92 kB / 352.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.005614, allocations: 7.984 kB / 352.6 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.588e-05/0.005699, allocations: 59.81 kB / 352.7 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.006176, allocations: 451.6 kB / 353.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.006409, allocations: 110.9 kB / 353.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.006451, allocations: 39.66 kB / 353.3 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.006469, allocations: 4.25 kB / 353.3 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.609e-05/0.006565, allocations: 118.6 kB / 353.4 MB, free: 10.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.006566, allocations: 0 / 353.4 MB, free: 10.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002045/0.00677, allocations: 141.5 kB / 353.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.006809, allocations: 51.41 kB / 353.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.782e-05/0.006907, allocations: 228.6 kB / 353.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.006921, allocations: 25.7 kB / 353.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.006987, allocations: 179.1 kB / 354 MB, free: 9.887 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.007018, allocations: 55.56 kB / 354 MB, free: 9.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.007063, allocations: 47.3 kB / 354.1 MB, free: 9.777 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.007166, allocations: 0.5001 MB / 354.6 MB, free: 9.266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.007194, allocations: 15.98 kB / 354.6 MB, free: 9.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.012e-05/0.007244, allocations: 66.72 kB / 354.7 MB, free: 9.168 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.059e-05/0.007335, allocations: 78.67 kB / 354.7 MB, free: 9.074 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.007337, allocations: 7.938 kB / 354.8 MB, free: 9.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001796/0.007517, allocations: 133.4 kB / 354.9 MB, free: 8.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.007529, allocations: 4 kB / 354.9 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.007533, allocations: 4 kB / 354.9 MB, free: 8.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.007542, allocations: 0 / 354.9 MB, free: 8.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.007759, allocations: 71.88 kB / 355 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.007763, allocations: 4.062 kB / 355 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.925e-05/0.007822, allocations: 19.89 kB / 355 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.00783, allocations: 4 kB / 355 MB, free: 8.824 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.0001094/0.007939, allocations: 180.5 kB / 355.2 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.007962, allocations: 23.84 kB / 355.2 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.008117, allocations: 134.3 kB / 355.3 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.008119, allocations: 4 kB / 355.3 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.00812, allocations: 0 / 355.3 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008123, allocations: 0 / 355.3 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.008425, allocations: 402.1 kB / 355.7 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.008427, allocations: 3.938 kB / 355.7 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.008616, allocations: 55.95 kB / 355.8 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.008618, allocations: 4 kB / 355.8 MB, free: 7.984 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.008629, allocations: 4 kB / 355.8 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.008631, allocations: 3.984 kB / 355.8 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.008631, allocations: 0 / 355.8 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.008841, allocations: 300.1 kB / 356.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.008857, allocations: 19.84 kB / 356.1 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.008872, allocations: 0 / 356.1 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.008941, allocations: 15.98 kB / 356.1 MB, free: 7.629 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.008972, allocations: 16 kB / 356.1 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.008985, allocations: 8 kB / 356.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.816e-05/0.009033, allocations: 152.8 kB / 356.3 MB, free: 7.457 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009033, allocations: 0 / 356.3 MB, free: 7.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000175/0.009208, allocations: 55.89 kB / 356.3 MB, free: 7.402 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 6.276e-05/0.009271, allocations: 99.19 kB / 356.4 MB, free: 7.293 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.009385, allocations: 86.72 kB / 356.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.009386, allocations: 0 / 356.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.385e-05/0.00944, allocations: 47.8 kB / 356.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.009648, allocations: 44.62 kB / 356.6 MB, free: 7.113 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.01066, allocations: 402.8 kB / 357 MB, free: 6.691 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.0107, allocations: 71.98 kB / 357.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.77e-05/0.01076, allocations: 21.48 kB / 357.1 MB, free: 6.582 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.645e-05/0.01086, allocations: 106.2 kB / 357.2 MB, free: 6.477 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01086, allocations: 3.938 kB / 357.2 MB, free: 6.473 MB / 282.7 MB Notification: Performance of Templates: time 0.003486/0.01435, allocations: 2.082 MB / 359.3 MB, free: 4.43 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.617011414375156]