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.001091/0.001091, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.0011/0.0011, allocations: 169 kB / 23.28 MB, free: 1.215 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.9858/0.9858, allocations: 177.1 MB / 203.7 MB, free: 5.473 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.06917/0.06917, allocations: 12.76 MB / 273 MB, free: 92 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.754e-06/1.754e-06, allocations: 0 / 347.3 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.76e-05, allocations: 8.641 kB / 347.3 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.003244/0.003262, allocations: 3.8 MB / 351.1 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.004679, allocations: 0.8412 MB / 352 MB, free: 12.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.004845, allocations: 15.88 kB / 352 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.00501, allocations: 71.28 kB / 352.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.005438, allocations: 218.2 kB / 352.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.00564, allocations: 111.7 kB / 352.4 MB, free: 11.69 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004639/0.006104, allocations: 0.618 MB / 353 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.006283, allocations: 92.84 kB / 353.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.006577, allocations: 311.3 kB / 353.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.006795, allocations: 183.5 kB / 353.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.006836, allocations: 28 kB / 353.6 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.684e-05/0.006883, allocations: 31.94 kB / 353.6 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.006931, allocations: 79.61 kB / 353.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.007044, allocations: 159.7 kB / 353.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.007371, allocations: 334.8 kB / 354.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.007373, allocations: 0 / 354.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007374, allocations: 0 / 354.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.007379, allocations: 8 kB / 354.2 MB, free: 9.863 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.0006594/0.008038, allocations: 0.6983 MB / 354.9 MB, free: 9.129 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.008078, allocations: 15.98 kB / 354.9 MB, free: 9.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.008157, allocations: 68.66 kB / 355 MB, free: 9.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.008449, allocations: 291.2 kB / 355.3 MB, free: 8.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.075e-05/0.00854, allocations: 132 kB / 355.4 MB, free: 8.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.008578, allocations: 32.38 kB / 355.4 MB, free: 8.551 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.008862, allocations: 310.1 kB / 355.7 MB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.008875, allocations: 8.141 kB / 355.7 MB, free: 8.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.008894, allocations: 11.94 kB / 355.7 MB, free: 8.195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.008901, allocations: 12 kB / 355.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.009037, allocations: 111.1 kB / 355.9 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008034/0.009841, allocations: 0.6759 MB / 356.5 MB, free: 7.371 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.01004, allocations: 154.9 kB / 356.7 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.01022, allocations: 123.6 kB / 356.8 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.01024, allocations: 4 kB / 356.8 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.01027, allocations: 33.39 kB / 356.9 MB, free: 7.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.01027, allocations: 8 kB / 356.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002824/0.01055, allocations: 189.1 kB / 357 MB, free: 6.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.01058, allocations: 59.34 kB / 357.1 MB, free: 6.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.01073, allocations: 298.2 kB / 357.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.01075, allocations: 33.7 kB / 357.4 MB, free: 6.422 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/0.01085, allocations: 255.1 kB / 357.7 MB, free: 6.168 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.01089, allocations: 83.3 kB / 357.8 MB, free: 6.086 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.01095, allocations: 51.34 kB / 357.8 MB, free: 6.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.01108, allocations: 0.5156 MB / 358.3 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.01112, allocations: 31.97 kB / 358.4 MB, free: 5.469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.717e-05/0.01117, allocations: 47.97 kB / 358.4 MB, free: 5.422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.01128, allocations: 87.58 kB / 358.5 MB, free: 5.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01128, allocations: 0 / 358.5 MB, free: 5.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001835/0.01147, allocations: 189.9 kB / 358.7 MB, free: 5.141 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.01148, allocations: 7.938 kB / 358.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01148, allocations: 0 / 358.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.01149, allocations: 4 kB / 358.7 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.01179, allocations: 95.86 kB / 358.8 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.01179, allocations: 0 / 358.8 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.941e-05/0.01187, allocations: 19.89 kB / 358.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.01188, allocations: 7.984 kB / 358.8 MB, free: 5.008 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.81e-05/0.01197, allocations: 164.6 kB / 359 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.01201, allocations: 31.81 kB / 359 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.01223, allocations: 191.7 kB / 359.2 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01223, allocations: 7.938 kB / 359.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01224, allocations: 0 / 359.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01224, allocations: 0 / 359.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.01245, allocations: 213 kB / 359.4 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01245, allocations: 0 / 359.4 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.0127, allocations: 79.88 kB / 359.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.0127, allocations: 3.984 kB / 359.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.01271, allocations: 8 kB / 359.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01271, allocations: 0 / 359.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01271, allocations: 0 / 359.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.01301, allocations: 361.5 kB / 359.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.01304, allocations: 23.8 kB / 359.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.01306, allocations: 11.98 kB / 359.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/0.01315, allocations: 12 kB / 359.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.01318, allocations: 19.91 kB / 359.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.01319, allocations: 4 kB / 359.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.417e-05/0.01328, allocations: 206.9 kB / 360.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01328, allocations: 0 / 360.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.01351, allocations: 111.7 kB / 360.2 MB, free: 3.527 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 8.268e-05/0.01359, allocations: 99.23 kB / 360.3 MB, free: 3.418 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.01376, allocations: 114.5 kB / 360.4 MB, free: 3.305 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01376, allocations: 4 kB / 360.4 MB, free: 3.301 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.799e-05/0.01383, allocations: 75.5 kB / 360.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.01416, allocations: 96.73 kB / 360.6 MB, free: 3.125 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.001209/0.01537, allocations: 0.6953 MB / 361.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.599e-05/0.01542, allocations: 96.56 kB / 361.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000125/0.01555, allocations: 38.95 kB / 361.4 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.01575, allocations: 174.1 kB / 361.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01575, allocations: 7.938 kB / 361.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of Templates: time 0.005895/0.02164, allocations: 4.454 MB / 366.1 MB, free: 13.72 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.855309958104044]