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.0009591/0.0009591, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.0009547/0.0009547, allocations: 173.9 kB / 23.21 MB, free: 1.328 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 1.012/1.012, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.06177/0.06177, allocations: 12.73 MB / 272.7 MB, free: 0.5 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: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 403.1 MB, free: 8.914 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.639e-05, allocations: 6.219 kB / 403.1 MB, free: 8.906 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Windkessel_2element): time 0.002111/0.002127, allocations: 2.365 MB / 405.4 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007247/0.002852, allocations: 0.6076 MB / 406 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.88e-05/0.00294, allocations: 7.938 kB / 406.1 MB, free: 5.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.003046, allocations: 35.64 kB / 406.1 MB, free: 5.875 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.003206, allocations: 71.39 kB / 406.2 MB, free: 5.805 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.003331, allocations: 55.86 kB / 406.2 MB, free: 5.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.003525, allocations: 242.7 kB / 406.4 MB, free: 5.512 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.003632, allocations: 25.78 kB / 406.5 MB, free: 5.484 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.003843, allocations: 127.7 kB / 406.6 MB, free: 5.359 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.003954, allocations: 67.8 kB / 406.7 MB, free: 5.293 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.003976, allocations: 12 kB / 406.7 MB, free: 5.281 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.204e-05/0.003998, allocations: 12 kB / 406.7 MB, free: 5.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.004024, allocations: 35.84 kB / 406.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.004079, allocations: 67.83 kB / 406.8 MB, free: 5.168 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.004245, allocations: 167.5 kB / 407 MB, free: 5.004 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004247, allocations: 0 / 407 MB, free: 5.004 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.004248, allocations: 0 / 407 MB, free: 5.004 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.004252, allocations: 0 / 407 MB, free: 5.004 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.0005045/0.004756, allocations: 397.8 kB / 407.3 MB, free: 4.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.004788, allocations: 11.98 kB / 407.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.004831, allocations: 24.8 kB / 407.4 MB, free: 4.547 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.00501, allocations: 180.1 kB / 407.6 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/0.005071, allocations: 64.2 kB / 407.6 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.005095, allocations: 12.38 kB / 407.6 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.005305, allocations: 173.7 kB / 407.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.005315, allocations: 192 / 407.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.00533, allocations: 11.92 kB / 407.8 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.005334, allocations: 4 kB / 407.8 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.005512, allocations: 116.6 kB / 407.9 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.006035, allocations: 381 kB / 408.3 MB, free: 3.551 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.006358, allocations: 146.5 kB / 408.4 MB, free: 3.398 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.006443, allocations: 60.81 kB / 408.5 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.006459, allocations: 3.938 kB / 408.5 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.006596, allocations: 137 kB / 408.6 MB, free: 3.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.006598, allocations: 0 / 408.6 MB, free: 3.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003321/0.00693, allocations: 213.4 kB / 408.8 MB, free: 2.965 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.006955, allocations: 55.41 kB / 408.9 MB, free: 2.898 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.007038, allocations: 146.3 kB / 409 MB, free: 2.746 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.007053, allocations: 29.7 kB / 409.1 MB, free: 2.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.007102, allocations: 119.8 kB / 409.2 MB, free: 2.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.007131, allocations: 47.8 kB / 409.2 MB, free: 2.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.007167, allocations: 29.7 kB / 409.3 MB, free: 2.508 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.621e-05/0.007233, allocations: 330.8 kB / 409.6 MB, free: 2.176 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.007305, allocations: 43.91 kB / 409.6 MB, free: 2.133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.11e-05/0.007387, allocations: 74.55 kB / 409.7 MB, free: 2.051 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.007571, allocations: 122.5 kB / 409.8 MB, free: 1.922 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.007573, allocations: 0 / 409.8 MB, free: 1.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000209/0.007782, allocations: 169.5 kB / 410 MB, free: 1.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.007793, allocations: 10.75 kB / 410 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.007798, allocations: 7.938 kB / 410 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.007808, allocations: 3.938 kB / 410 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.007967, allocations: 47.95 kB / 410.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.007972, allocations: 0 / 410.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.447e-05/0.008026, allocations: 8 kB / 410.1 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.008037, allocations: 16.02 kB / 410.1 MB, free: 1.66 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.000105/0.008142, allocations: 129.8 kB / 410.2 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.008157, allocations: 15.91 kB / 410.2 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.008389, allocations: 177.6 kB / 410.4 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.008394, allocations: 15.92 kB / 410.4 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.008397, allocations: 0 / 410.4 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.0084, allocations: 0 / 410.4 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.008774, allocations: 414 kB / 410.8 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008775, allocations: 0 / 410.8 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.00891, allocations: 39.97 kB / 410.9 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.008912, allocations: 3.938 kB / 410.9 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.008924, allocations: 7.984 kB / 410.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.008925, allocations: 0 / 410.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008925, allocations: 4 kB / 410.9 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.009249, allocations: 315.3 kB / 411.2 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.009265, allocations: 23.94 kB / 411.2 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.009284, allocations: 7.984 kB / 411.2 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.009349, allocations: 11.98 kB / 411.2 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.00939, allocations: 11.98 kB / 411.2 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.009404, allocations: 4 kB / 411.2 MB, free: 452 kB / 330.7 MB Notification: Performance of sorting global known variables: time 4.831e-05/0.009452, allocations: 121.8 kB / 411.4 MB, free: 332 kB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009452, allocations: 0 / 411.4 MB, free: 332 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001815/0.009634, allocations: 47.89 kB / 411.4 MB, free: 284 kB / 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 6.359e-05/0.009697, allocations: 99.17 kB / 411.5 MB, free: 172 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.009898, allocations: 123.9 kB / 411.6 MB, free: 48 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.0099, allocations: 3.938 kB / 411.6 MB, free: 44 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1157/0.1256, allocations: 58.77 kB / 411.7 MB, free: 21.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.1259, allocations: 27.67 kB / 411.7 MB, free: 21.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.1264, allocations: 370.8 kB / 412.1 MB, free: 21.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.482e-05/0.1265, allocations: 100.3 kB / 412.2 MB, free: 21.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.1266, allocations: 20.25 kB / 412.2 MB, free: 21.41 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1266, allocations: 0 / 412.2 MB, free: 21.41 MB / 330.7 MB Notification: Performance of Templates: time 0.002817/0.1294, allocations: 2.059 MB / 414.2 MB, free: 21.32 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 > Bodylight_Bodylight.Hydraulic.Examples.Windkessel_2element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.439936981070787]