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.0009777/0.0009777, allocations: 100.4 kB / 19.7 MB, free: 440 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.001178/0.001178, allocations: 211.6 kB / 22.99 MB, free: 2.961 MB / 13.93 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.017/1.017, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.06739/0.06739, allocations: 17.17 MB / 330.3 MB, free: 0.7305 MB / 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: Bodylight requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 75.89 kB / 460.7 MB, free: 27.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.09064, allocations: 57.77 MB / 0.5063 GB, free: 1.289 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_2element): time 0.002369/0.09301, allocations: 2.36 MB / 0.5086 GB, free: 14.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000721/0.09373, allocations: 0.6 MB / 0.5092 GB, free: 14.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.966e-05/0.09382, allocations: 7.938 kB / 0.5092 GB, free: 14.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.09394, allocations: 31.7 kB / 0.5092 GB, free: 14.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.09411, allocations: 67.45 kB / 0.5093 GB, free: 14.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.09423, allocations: 51.88 kB / 0.5093 GB, free: 14.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.09442, allocations: 242.8 kB / 0.5096 GB, free: 13.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.09453, allocations: 25.73 kB / 0.5096 GB, free: 13.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.0947, allocations: 91.64 kB / 0.5097 GB, free: 13.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.09481, allocations: 75.69 kB / 0.5097 GB, free: 13.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.09483, allocations: 12 kB / 0.5098 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.093e-05/0.09485, allocations: 12 kB / 0.5098 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.09488, allocations: 35.78 kB / 0.5098 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.09494, allocations: 71.72 kB / 0.5099 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.09512, allocations: 171.4 kB / 0.51 GB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.09512, allocations: 7.938 kB / 0.51 GB, free: 13.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09512, allocations: 3.938 kB / 0.51 GB, free: 13.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.09513, allocations: 0 / 0.51 GB, free: 13.41 MB / 378.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.0005544/0.09568, allocations: 397.8 kB / 0.5104 GB, free: 12.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.09572, allocations: 12.03 kB / 0.5104 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.09576, allocations: 16.84 kB / 0.5104 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.09595, allocations: 170.2 kB / 0.5106 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.898e-05/0.09602, allocations: 64.2 kB / 0.5107 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.09605, allocations: 12.38 kB / 0.5107 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.09626, allocations: 173.1 kB / 0.5108 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.09627, allocations: 0 / 0.5108 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.09628, allocations: 4 kB / 0.5109 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.09629, allocations: 4 kB / 0.5109 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.09647, allocations: 118.9 kB / 0.511 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.09694, allocations: 377 kB / 0.5113 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.09727, allocations: 154.4 kB / 0.5115 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.536e-05/0.09736, allocations: 68.81 kB / 0.5115 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.09737, allocations: 0 / 0.5115 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.09751, allocations: 140.4 kB / 0.5117 GB, free: 11.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.09751, allocations: 0 / 0.5117 GB, free: 11.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003279/0.09784, allocations: 209.5 kB / 0.5119 GB, free: 11.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.09787, allocations: 51.41 kB / 0.5119 GB, free: 11.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.09796, allocations: 157.3 kB / 0.5121 GB, free: 11.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.09798, allocations: 29.92 kB / 0.5121 GB, free: 11.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.09803, allocations: 119.9 kB / 0.5122 GB, free: 11.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.09806, allocations: 47.56 kB / 0.5123 GB, free: 10.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.09809, allocations: 33.7 kB / 0.5123 GB, free: 10.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.09816, allocations: 322.8 kB / 0.5126 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.09824, allocations: 43.97 kB / 0.5126 GB, free: 10.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-05/0.09832, allocations: 77.44 kB / 0.5127 GB, free: 10.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.09864, allocations: 118.5 kB / 0.5128 GB, free: 10.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.09864, allocations: 0 / 0.5128 GB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002015/0.09885, allocations: 177.3 kB / 0.513 GB, free: 10.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.09886, allocations: 8.031 kB / 0.513 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.09886, allocations: 3.938 kB / 0.513 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.09888, allocations: 4 kB / 0.513 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.09904, allocations: 43.95 kB / 0.5131 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.09904, allocations: 7.984 kB / 0.5131 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.67e-05/0.0991, allocations: 15.98 kB / 0.5131 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.09911, allocations: 11.94 kB / 0.5131 GB, free: 10.08 MB / 378.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.0001154/0.09923, allocations: 141.7 kB / 0.5132 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.09924, allocations: 15.89 kB / 0.5132 GB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.09948, allocations: 170.4 kB / 0.5134 GB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.09948, allocations: 4 kB / 0.5134 GB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.09948, allocations: 4 kB / 0.5134 GB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.09949, allocations: 3.984 kB / 0.5134 GB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.09985, allocations: 418 kB / 0.5138 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.09986, allocations: 0 / 0.5138 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.09999, allocations: 39.97 kB / 0.5139 GB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1, allocations: 4 kB / 0.5139 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1, allocations: 3.984 kB / 0.5139 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1, allocations: 0 / 0.5139 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1, allocations: 0 / 0.5139 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.1003, allocations: 342.6 kB / 0.5142 GB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.1004, allocations: 7.953 kB / 0.5142 GB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1004, allocations: 8.062 kB / 0.5142 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.618e-05/0.1004, allocations: 11.98 kB / 0.5142 GB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.1005, allocations: 11.98 kB / 0.5142 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.1005, allocations: 4 kB / 0.5142 GB, free: 8.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.894e-05/0.1005, allocations: 107.2 kB / 0.5143 GB, free: 8.746 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1005, allocations: 0 / 0.5143 GB, free: 8.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.1007, allocations: 47.89 kB / 0.5144 GB, free: 8.699 MB / 378.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 6.381e-05/0.1008, allocations: 103.2 kB / 0.5145 GB, free: 8.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.101, allocations: 127.8 kB / 0.5146 GB, free: 8.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.101, allocations: 0 / 0.5146 GB, free: 8.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.709e-05/0.1011, allocations: 59.89 kB / 0.5147 GB, free: 8.406 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.1013, allocations: 27.92 kB / 0.5147 GB, free: 8.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.1018, allocations: 406.3 kB / 0.5151 GB, free: 7.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.267e-05/0.1018, allocations: 103.3 kB / 0.5152 GB, free: 7.832 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.1019, allocations: 23.42 kB / 0.5152 GB, free: 7.809 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1019, allocations: 4 kB / 0.5152 GB, free: 7.805 MB / 378.7 MB Notification: Performance of Templates: time 0.002758/0.1046, allocations: 2.052 MB / 0.5172 GB, free: 5.766 MB / 378.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 > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.052363664843142]