Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.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.0009111/0.0009111, allocations: 93.06 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.0009592/0.0009592, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.9436/0.9436, 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.06093/0.06093, allocations: 12.76 MB / 272.7 MB, free: 280 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.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation") translateModel(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 346.9 MB, free: 1.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.166e-05, allocations: 6.25 kB / 346.9 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.003137/0.003158, allocations: 3.837 MB / 350.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.004254, allocations: 0.8412 MB / 351.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.004394, allocations: 19.88 kB / 351.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.004556, allocations: 79.2 kB / 351.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.004881, allocations: 210.2 kB / 351.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.005043, allocations: 107.7 kB / 352 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.005451, allocations: 0.6219 MB / 352.6 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.005632, allocations: 96.83 kB / 352.7 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.005869, allocations: 311.3 kB / 353 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.006087, allocations: 179.5 kB / 353.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.006126, allocations: 32 kB / 353.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.699e-05/0.006163, allocations: 28 kB / 353.2 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.006211, allocations: 79.61 kB / 353.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.006316, allocations: 159.7 kB / 353.5 MB, free: 10.44 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.006596, allocations: 334.8 kB / 353.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006599, allocations: 0 / 353.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.0066, allocations: 0 / 353.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.006605, allocations: 0 / 353.8 MB, free: 10.11 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0006904/0.007296, allocations: 0.7022 MB / 354.5 MB, free: 9.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.007334, allocations: 11.98 kB / 354.5 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.209e-05/0.007426, allocations: 76.64 kB / 354.6 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.007749, allocations: 283.2 kB / 354.8 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-05/0.00784, allocations: 136 kB / 355 MB, free: 8.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.007878, allocations: 28.38 kB / 355 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.008218, allocations: 342.1 kB / 355.3 MB, free: 8.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.008232, allocations: 8.125 kB / 355.4 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.008255, allocations: 15.94 kB / 355.4 MB, free: 8.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.008264, allocations: 8 kB / 355.4 MB, free: 8.398 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.008468, allocations: 135.1 kB / 355.5 MB, free: 8.266 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008771/0.009345, allocations: 0.7183 MB / 356.2 MB, free: 7.512 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.00959, allocations: 163.9 kB / 356.4 MB, free: 7.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.009819, allocations: 135.6 kB / 356.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.009843, allocations: 4 kB / 356.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.00987, allocations: 41.33 kB / 356.6 MB, free: 7.148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/0.009871, allocations: 4 kB / 356.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003501/0.01022, allocations: 207.9 kB / 356.8 MB, free: 6.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.01025, allocations: 51.41 kB / 356.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.01043, allocations: 310.3 kB / 357.1 MB, free: 6.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.01044, allocations: 29.7 kB / 357.2 MB, free: 6.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.01055, allocations: 255.2 kB / 357.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.0106, allocations: 83.33 kB / 357.5 MB, free: 6.184 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-05/0.01066, allocations: 55.34 kB / 357.5 MB, free: 6.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.01077, allocations: 0.5079 MB / 358 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.189e-05/0.01085, allocations: 39.97 kB / 358.1 MB, free: 5.562 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.01091, allocations: 51.91 kB / 358.1 MB, free: 5.512 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.01107, allocations: 107.6 kB / 358.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01107, allocations: 0 / 358.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002314/0.0113, allocations: 209.9 kB / 358.4 MB, free: 5.191 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.01131, allocations: 8 kB / 358.5 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01132, allocations: 0 / 358.5 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.01133, allocations: 0 / 358.5 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.01166, allocations: 91.86 kB / 358.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.01167, allocations: 0 / 358.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.01175, allocations: 23.88 kB / 358.6 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.01176, allocations: 16 kB / 358.6 MB, free: 5.055 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 8.87e-05/0.01185, allocations: 168.5 kB / 358.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.01189, allocations: 35.75 kB / 358.8 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.01216, allocations: 202.8 kB / 359 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01216, allocations: 0 / 359 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.01216, allocations: 4 kB / 359 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01217, allocations: 0 / 359 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.0124, allocations: 264.4 kB / 359.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.0124, allocations: 0 / 359.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.01266, allocations: 75.88 kB / 359.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01266, allocations: 4 kB / 359.3 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.01268, allocations: 11.98 kB / 359.3 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01268, allocations: 3.938 kB / 359.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01268, allocations: 0 / 359.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.01304, allocations: 381.5 kB / 359.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.01307, allocations: 23.8 kB / 359.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.01309, allocations: 4 kB / 359.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.324e-05/0.01319, allocations: 15.92 kB / 359.7 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.01321, allocations: 19.97 kB / 359.8 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.01322, allocations: 4 kB / 359.8 MB, free: 3.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.98e-05/0.01332, allocations: 211 kB / 360 MB, free: 3.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01332, allocations: 0 / 360 MB, free: 3.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002332/0.01356, allocations: 107.8 kB / 360.1 MB, free: 3.484 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (PulmonaryArteries.volume,PulmonaryVeins.volume,SystemicVeins.volume,SystemicArteries.volume) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 7.774e-05/0.01364, allocations: 99.19 kB / 360.2 MB, free: 3.375 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.01385, allocations: 139.5 kB / 360.3 MB, free: 3.234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01385, allocations: 0 / 360.3 MB, free: 3.234 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/0.01393, allocations: 74.78 kB / 360.4 MB, free: 3.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.01425, allocations: 100.7 kB / 360.5 MB, free: 3.059 MB / 282.7 MB Error: Error parsing unit (Pa.s)/m3: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.01551, allocations: 0.7187 MB / 361.2 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.14e-05/0.01556, allocations: 92.62 kB / 361.3 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.01567, allocations: 38.95 kB / 361.3 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.01572, allocations: 28.48 kB / 361.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01572, allocations: 0 / 361.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of Templates: time 0.005787/0.02151, allocations: 4.345 MB / 365.7 MB, free: 13.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.sim & ./Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.660827726125717]