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.001283/0.001283, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.00269, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008398/0.0008398, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001969/0.002809, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9566/0.9566, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1152/1.072, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.05506/0.05506, allocations: 12.75 MB / 256.9 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02223/0.07729, allocations: 4.834 MB / 261.7 MB, free: 13.15 MB / 266.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.403e-06/1.403e-06, allocations: 0 / 263.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.444e-05, allocations: 2.312 kB / 263.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.002924/0.002939, allocations: 3.871 MB / 267.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009649/0.003904, allocations: 0.8566 MB / 267.9 MB, free: 6.934 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.004021, allocations: 15.88 kB / 267.9 MB, free: 6.918 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.004143, allocations: 79.2 kB / 268 MB, free: 6.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.00438, allocations: 218.1 kB / 268.2 MB, free: 6.625 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.004513, allocations: 107.8 kB / 268.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.004886, allocations: 0.6296 MB / 268.9 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.005045, allocations: 97.47 kB / 269 MB, free: 5.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.00533, allocations: 355.6 kB / 269.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.005538, allocations: 175.5 kB / 269.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.005577, allocations: 28 kB / 269.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.578e-05/0.005623, allocations: 32 kB / 269.6 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/0.005665, allocations: 59.73 kB / 269.7 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.571e-05/0.005761, allocations: 143.8 kB / 269.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.006019, allocations: 302.9 kB / 270.1 MB, free: 4.711 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.006028, allocations: 0 / 270.1 MB, free: 4.711 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006029, allocations: 4 kB / 270.1 MB, free: 4.707 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.006039, allocations: 3.938 kB / 270.1 MB, free: 4.703 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.0006852/0.006724, allocations: 0.667 MB / 270.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.006756, allocations: 8.031 kB / 270.8 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.006825, allocations: 52.89 kB / 270.9 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.007272, allocations: 260.5 kB / 271.1 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.398e-05/0.007356, allocations: 132 kB / 271.2 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.007394, allocations: 28.38 kB / 271.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.007661, allocations: 330.1 kB / 271.6 MB, free: 3.133 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.007674, allocations: 192 / 271.6 MB, free: 3.133 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.007692, allocations: 19.94 kB / 271.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.0077, allocations: 8 kB / 271.6 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.007821, allocations: 91.16 kB / 271.7 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.00848, allocations: 0.5202 MB / 272.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.008654, allocations: 141.4 kB / 272.4 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.008804, allocations: 116.8 kB / 272.5 MB, free: 2.215 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.008825, allocations: 15.92 kB / 272.5 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.008846, allocations: 42.56 kB / 272.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.122e-06/0.008847, allocations: 0 / 272.5 MB, free: 2.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.000205/0.009052, allocations: 133.9 kB / 272.7 MB, free: 2.012 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.009077, allocations: 55.41 kB / 272.7 MB, free: 1.945 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.009218, allocations: 247 kB / 273 MB, free: 1.691 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.009238, allocations: 29.7 kB / 273 MB, free: 1.656 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.00931, allocations: 185.1 kB / 273.2 MB, free: 1.469 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.009352, allocations: 75.33 kB / 273.2 MB, free: 1.395 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.009405, allocations: 53.67 kB / 273.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.009482, allocations: 342.7 kB / 273.6 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.8e-05/0.00952, allocations: 31.92 kB / 273.7 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.009555, allocations: 31.98 kB / 273.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.709e-05/0.009652, allocations: 88.77 kB / 273.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.009654, allocations: 0 / 273.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001403/0.009794, allocations: 142.1 kB / 273.9 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.009803, allocations: 4 kB / 273.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.009807, allocations: 0 / 273.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.009819, allocations: 0 / 273.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.01014, allocations: 107.8 kB / 274 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.01015, allocations: 11.98 kB / 274 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.819e-05/0.01024, allocations: 23.84 kB / 274.1 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.01025, allocations: 8 kB / 274.1 MB, free: 0.543 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 7.231e-05/0.01032, allocations: 137.7 kB / 274.2 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.01035, allocations: 15.98 kB / 274.2 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.01053, allocations: 151 kB / 274.4 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01053, allocations: 4 kB / 274.4 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.01053, allocations: 3.938 kB / 274.4 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01053, allocations: 3.984 kB / 274.4 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.01071, allocations: 177.7 kB / 274.5 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01072, allocations: 7.922 kB / 274.6 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1233/0.134, allocations: 93.38 kB / 274.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.1341, allocations: 26.05 kB / 274.7 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1341, allocations: 8.281 kB / 274.7 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.1341, allocations: 6.812 kB / 274.7 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1341, allocations: 0 / 274.7 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1341, allocations: 3.016 kB / 274.7 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.1344, allocations: 260.2 kB / 274.9 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1344, allocations: 5.438 kB / 275 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1345, allocations: 16.88 kB / 275 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.1346, allocations: 17.69 kB / 275 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1346, allocations: 5 kB / 275 MB, free: 8.477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.355e-05/0.1347, allocations: 90.59 kB / 275.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1347, allocations: 0 / 275.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000254/0.1349, allocations: 104.5 kB / 275.2 MB, free: 8.461 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 9.52e-05/0.135, allocations: 80.12 kB / 275.3 MB, free: 8.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1352, allocations: 105.6 kB / 275.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.1352, allocations: 5.266 kB / 275.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.1353, allocations: 80.05 kB / 275.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.1357, allocations: 0.8976 MB / 276.3 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00935/0.145, allocations: 0.5945 MB / 276.9 MB, free: 7.121 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.101e-05/0.1451, allocations: 92.53 kB / 277 MB, free: 7.051 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.1453, allocations: 45.05 kB / 277.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.1455, allocations: 143 kB / 277.2 MB, free: 7.004 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1455, allocations: 0 / 277.2 MB, free: 7.004 MB / 266.7 MB Notification: Performance of Templates: time 0.007486/0.1529, allocations: 4.769 MB / 282 MB, free: 6.488 MB / 266.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.7232937552034855]