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.001397/0.001397, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.001318/0.001318, allocations: 165 kB / 24.22 MB, free: 244 kB / 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.9889/0.9889, allocations: 177.1 MB / 204.7 MB, free: 5.457 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.0587/0.0587, allocations: 12.76 MB / 273.9 MB, free: 124 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 2.034e-06/2.034e-06, allocations: 0 / 295.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.506e-05, allocations: 4.781 kB / 295.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.007058/0.007083, allocations: 3.838 MB / 298.9 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004765/0.01185, allocations: 0.8678 MB / 299.8 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.01202, allocations: 15 kB / 299.8 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.01224, allocations: 75.7 kB / 299.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.01263, allocations: 214.5 kB / 300.1 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.01284, allocations: 108.3 kB / 300.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.01335, allocations: 0.6254 MB / 300.8 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.01354, allocations: 98.62 kB / 300.9 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003298/0.01387, allocations: 307.3 kB / 301.2 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.01414, allocations: 184.2 kB / 301.4 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.01419, allocations: 27.25 kB / 301.4 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.855e-05/0.01425, allocations: 31.62 kB / 301.4 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003068/0.01732, allocations: 73.59 kB / 301.5 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.01748, allocations: 162.3 kB / 301.7 MB, free: 7.516 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.01785, allocations: 334.6 kB / 302 MB, free: 7.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.01786, allocations: 1.25 kB / 302 MB, free: 7.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01786, allocations: 0.6562 kB / 302 MB, free: 7.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.01786, allocations: 0 / 302 MB, free: 7.367 MB / 266.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.0007028/0.01857, allocations: 0.5823 MB / 302.6 MB, free: 6.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.01861, allocations: 13.64 kB / 302.6 MB, free: 6.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.238e-05/0.0187, allocations: 55.61 kB / 302.6 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.01904, allocations: 258.6 kB / 302.9 MB, free: 6.715 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.73e-05/0.01913, allocations: 130.9 kB / 303 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.01918, allocations: 32.12 kB / 303.1 MB, free: 6.566 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.01953, allocations: 322.1 kB / 303.4 MB, free: 6.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.01954, allocations: 6.172 kB / 303.4 MB, free: 6.355 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.01956, allocations: 18.67 kB / 303.4 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.01957, allocations: 6.875 kB / 303.4 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.01974, allocations: 93.55 kB / 303.5 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003844/0.02358, allocations: 0.512 MB / 304 MB, free: 6.043 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.0238, allocations: 142 kB / 304.1 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.02399, allocations: 113 kB / 304.2 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.02401, allocations: 11.39 kB / 304.3 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.02403, allocations: 41.16 kB / 304.3 MB, free: 5.918 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.02403, allocations: 0 / 304.3 MB, free: 5.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002731/0.02431, allocations: 143.8 kB / 304.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.02433, allocations: 55.16 kB / 304.5 MB, free: 5.816 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.02447, allocations: 240.3 kB / 304.7 MB, free: 5.664 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.02449, allocations: 34.22 kB / 304.8 MB, free: 5.629 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.02455, allocations: 184.4 kB / 304.9 MB, free: 5.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.0246, allocations: 82.88 kB / 305 MB, free: 5.414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.02467, allocations: 47.67 kB / 305.1 MB, free: 5.383 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.02471, allocations: 343.6 kB / 305.4 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/0.02477, allocations: 36.38 kB / 305.4 MB, free: 5.043 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.164e-05/0.02482, allocations: 35.33 kB / 305.5 MB, free: 5.035 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.02496, allocations: 85.11 kB / 305.6 MB, free: 5.023 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.02496, allocations: 0 / 305.6 MB, free: 5.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001951/0.02515, allocations: 138.8 kB / 305.7 MB, free: 4.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.02517, allocations: 5.625 kB / 305.7 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.02517, allocations: 0 / 305.7 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.02518, allocations: 1.031 kB / 305.7 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.0256, allocations: 102.6 kB / 305.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.02561, allocations: 1.641 kB / 305.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.02571, allocations: 32.94 kB / 305.8 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.02572, allocations: 6.844 kB / 305.8 MB, free: 4.949 MB / 266.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 6.869e-05/0.02579, allocations: 129.5 kB / 306 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.02584, allocations: 24 kB / 306 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.02606, allocations: 150.5 kB / 306.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.02607, allocations: 1.875 kB / 306.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.02607, allocations: 0 / 306.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.02607, allocations: 2.547 kB / 306.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.02933, allocations: 185.7 kB / 306.3 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02933, allocations: 3.938 kB / 306.3 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.02968, allocations: 89.44 kB / 306.4 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.02968, allocations: 3.938 kB / 306.4 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.0297, allocations: 6.656 kB / 306.4 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.0297, allocations: 2.938 kB / 306.4 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.0297, allocations: 4.625 kB / 306.4 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.02995, allocations: 271.4 kB / 306.7 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.02998, allocations: 24.81 kB / 306.7 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.03001, allocations: 2.969 kB / 306.7 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.03013, allocations: 12.7 kB / 306.7 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.03016, allocations: 20.62 kB / 306.8 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.03017, allocations: 4 kB / 306.8 MB, free: 4.359 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.22e-05/0.03024, allocations: 85.45 kB / 306.8 MB, free: 4.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03024, allocations: 4 kB / 306.8 MB, free: 4.316 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002663/0.0305, allocations: 107.2 kB / 307 MB, free: 4.293 MB / 266.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.305e-05/0.03059, allocations: 83.12 kB / 307 MB, free: 4.219 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.03076, allocations: 103.3 kB / 307.1 MB, free: 4.188 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.03077, allocations: 3.312 kB / 307.1 MB, free: 4.188 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.489e-05/0.03084, allocations: 63.14 kB / 307.2 MB, free: 4.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.03119, allocations: 95.16 kB / 307.3 MB, free: 4.109 MB / 266.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.004281/0.03547, allocations: 0.6508 MB / 307.9 MB, free: 3.629 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.556e-05/0.03551, allocations: 92.62 kB / 308 MB, free: 3.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.03565, allocations: 38.95 kB / 308.1 MB, free: 3.477 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.03583, allocations: 141.3 kB / 308.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.03583, allocations: 4 kB / 308.2 MB, free: 3.336 MB / 266.7 MB Notification: Performance of Templates: time 0.01093/0.04677, allocations: 4.456 MB / 312.7 MB, free: 15.03 MB / 282.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.8720673648640513]