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.001459/0.001459, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00113/0.00113, allocations: 181 kB / 23.36 MB, free: 1.129 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.101/1.101, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.05963/0.05963, allocations: 12.76 MB / 273 MB, free: 180 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.472e-06/1.472e-06, allocations: 0 / 294.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.114e-05, allocations: 3.531 kB / 294.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.004292/0.004313, allocations: 3.838 MB / 297.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.006141, allocations: 0.8662 MB / 298.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.006368, allocations: 14.44 kB / 298.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.00656, allocations: 72.42 kB / 298.9 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.00702, allocations: 225.9 kB / 299.1 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.00727, allocations: 101.8 kB / 299.2 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006227/0.007893, allocations: 0.6211 MB / 299.8 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.008105, allocations: 97.67 kB / 299.9 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004626/0.008568, allocations: 315.5 kB / 300.2 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/0.008906, allocations: 175.3 kB / 300.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.008964, allocations: 28.41 kB / 300.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.009049, allocations: 30.66 kB / 300.5 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.009105, allocations: 79 kB / 300.5 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.009259, allocations: 162.4 kB / 300.7 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.009732, allocations: 338 kB / 301 MB, free: 7.531 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.009736, allocations: 1.844 kB / 301 MB, free: 7.531 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009737, allocations: 0 / 301 MB, free: 7.531 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.009748, allocations: 0 / 301 MB, free: 7.531 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.0008065/0.01055, allocations: 0.5787 MB / 301.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.0106, allocations: 12.86 kB / 301.6 MB, free: 7.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.01071, allocations: 51.69 kB / 301.7 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.01108, allocations: 259.4 kB / 301.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.17e-05/0.01116, allocations: 131.8 kB / 302.1 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.01121, allocations: 30.25 kB / 302.1 MB, free: 6.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.01156, allocations: 325.3 kB / 302.4 MB, free: 6.531 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.01157, allocations: 192 / 302.4 MB, free: 6.531 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.0116, allocations: 17.02 kB / 302.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.01161, allocations: 11.16 kB / 302.4 MB, free: 6.516 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.01181, allocations: 92.41 kB / 302.5 MB, free: 6.504 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009613/0.01277, allocations: 0.5118 MB / 303 MB, free: 6.219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.01302, allocations: 135.5 kB / 303.2 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.01324, allocations: 131.3 kB / 303.3 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.01326, allocations: 5.5 kB / 303.3 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.01328, allocations: 37.31 kB / 303.3 MB, free: 6.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.01328, allocations: 0 / 303.3 MB, free: 6.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002817/0.01357, allocations: 143.2 kB / 303.5 MB, free: 6.047 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.01359, allocations: 53.91 kB / 303.5 MB, free: 5.984 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.01376, allocations: 248.1 kB / 303.8 MB, free: 5.828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.01377, allocations: 31.02 kB / 303.8 MB, free: 5.793 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.01385, allocations: 180.3 kB / 304 MB, free: 5.648 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.01389, allocations: 86.25 kB / 304.1 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.01397, allocations: 51.88 kB / 304.1 MB, free: 5.547 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.01402, allocations: 345.1 kB / 304.5 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.703e-05/0.01407, allocations: 34.3 kB / 304.5 MB, free: 5.207 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.01413, allocations: 29.66 kB / 304.5 MB, free: 5.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.01428, allocations: 84.05 kB / 304.6 MB, free: 5.191 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01429, allocations: 5.531 kB / 304.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002111/0.0145, allocations: 137.4 kB / 304.7 MB, free: 5.145 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.01451, allocations: 6.062 kB / 304.7 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01452, allocations: 1.203 kB / 304.7 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.01454, allocations: 1.062 kB / 304.7 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.015, allocations: 101.3 kB / 304.8 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.015, allocations: 3.578 kB / 304.8 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.01512, allocations: 28.75 kB / 304.9 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.01514, allocations: 9.562 kB / 304.9 MB, free: 5.113 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.783e-05/0.01522, allocations: 121.5 kB / 305 MB, free: 4.988 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.01527, allocations: 24.88 kB / 305 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.01553, allocations: 148.2 kB / 305.2 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01554, allocations: 2.156 kB / 305.2 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.01554, allocations: 1.844 kB / 305.2 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01554, allocations: 0.7031 kB / 305.2 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.01582, allocations: 184.8 kB / 305.4 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01582, allocations: 3.984 kB / 305.4 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.01621, allocations: 91.36 kB / 305.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.01622, allocations: 6 kB / 305.5 MB, free: 4.766 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.01623, allocations: 5.266 kB / 305.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01624, allocations: 5.219 kB / 305.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01624, allocations: 3.938 kB / 305.5 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.01653, allocations: 259.4 kB / 305.7 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.01657, allocations: 32.33 kB / 305.8 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.0166, allocations: 4 kB / 305.8 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.01674, allocations: 11.28 kB / 305.8 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.01677, allocations: 20.59 kB / 305.8 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.01678, allocations: 11.98 kB / 305.8 MB, free: 4.523 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.573e-05/0.01686, allocations: 92.91 kB / 305.9 MB, free: 4.477 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01686, allocations: 0 / 305.9 MB, free: 4.477 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003169/0.01717, allocations: 104.3 kB / 306 MB, free: 4.457 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.871e-05/0.01727, allocations: 77.67 kB / 306.1 MB, free: 4.387 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.01747, allocations: 95.03 kB / 306.2 MB, free: 4.363 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.01748, allocations: 2.156 kB / 306.2 MB, free: 4.363 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.01757, allocations: 75.31 kB / 306.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.01795, allocations: 92.17 kB / 306.3 MB, free: 4.281 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.001492/0.01945, allocations: 0.6521 MB / 307 MB, free: 3.773 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.098e-05/0.0195, allocations: 92.61 kB / 307.1 MB, free: 3.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.01968, allocations: 42.95 kB / 307.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.01989, allocations: 137.3 kB / 307.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01989, allocations: 4 kB / 307.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of Templates: time 0.00617/0.02606, allocations: 4.468 MB / 311.7 MB, free: 15.16 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.924313672352582]