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.0008476/0.0008476, 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.0009324/0.0009324, allocations: 181 kB / 23.36 MB, free: 1.133 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.9056/0.9056, allocations: 177.1 MB / 203.8 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.08104/0.08104, allocations: 12.75 MB / 273 MB, free: 164 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.154e-06/2.154e-06, allocations: 0.75 kB / 294.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.139e-05, allocations: 4.031 kB / 294.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.005394/0.005415, allocations: 3.806 MB / 297.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.007425, allocations: 0.8622 MB / 298.7 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.00768, allocations: 15.31 kB / 298.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.0079, allocations: 72.64 kB / 298.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005374/0.008438, allocations: 225.3 kB / 299 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.008717, allocations: 101.4 kB / 299.1 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006932/0.009411, allocations: 0.6215 MB / 299.8 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.009637, allocations: 97.61 kB / 299.9 MB, free: 8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004988/0.01014, allocations: 320.2 kB / 300.2 MB, free: 7.887 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.01046, allocations: 174.9 kB / 300.3 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.01052, allocations: 28.66 kB / 300.4 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.158e-05/0.01059, allocations: 30.22 kB / 300.4 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/0.01066, allocations: 78.5 kB / 300.5 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.01084, allocations: 162.8 kB / 300.6 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.01128, allocations: 335.7 kB / 301 MB, free: 7.578 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.01129, allocations: 0 / 301 MB, free: 7.578 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01129, allocations: 0 / 301 MB, free: 7.578 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.0113, allocations: 0 / 301 MB, free: 7.578 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.0008009/0.0121, allocations: 0.5784 MB / 301.5 MB, free: 7.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.01214, allocations: 13.14 kB / 301.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.01224, allocations: 56.41 kB / 301.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.01261, allocations: 258.8 kB / 301.9 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.798e-05/0.0127, allocations: 127.2 kB / 302 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.01274, allocations: 33.62 kB / 302 MB, free: 6.785 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.01313, allocations: 320.8 kB / 302.3 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.01314, allocations: 1.266 kB / 302.3 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.01317, allocations: 19.81 kB / 302.3 MB, free: 6.562 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.01318, allocations: 10.75 kB / 302.4 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.01336, allocations: 89.06 kB / 302.4 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009649/0.01433, allocations: 0.5209 MB / 303 MB, free: 6.258 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.01459, allocations: 136 kB / 303.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.01482, allocations: 116.9 kB / 303.2 MB, free: 6.184 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.01485, allocations: 7.562 kB / 303.2 MB, free: 6.184 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.01487, allocations: 37.31 kB / 303.3 MB, free: 6.141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.904e-06/0.01487, allocations: 0 / 303.3 MB, free: 6.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003122/0.01518, allocations: 141.1 kB / 303.4 MB, free: 6.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.01521, allocations: 57.66 kB / 303.5 MB, free: 6.035 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.01537, allocations: 250.5 kB / 303.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.01538, allocations: 27.05 kB / 303.7 MB, free: 5.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/0.01545, allocations: 183 kB / 303.9 MB, free: 5.699 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.0155, allocations: 83.83 kB / 304 MB, free: 5.629 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/0.01557, allocations: 55.52 kB / 304 MB, free: 5.594 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.317e-05/0.01563, allocations: 347.2 kB / 304.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/0.01568, allocations: 27.53 kB / 304.4 MB, free: 5.258 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.01573, allocations: 32.27 kB / 304.4 MB, free: 5.254 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.01588, allocations: 83.36 kB / 304.5 MB, free: 5.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01588, allocations: 3.938 kB / 304.5 MB, free: 5.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002175/0.0161, allocations: 138.9 kB / 304.7 MB, free: 5.195 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.01611, allocations: 5.688 kB / 304.7 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01612, allocations: 4 kB / 304.7 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01613, allocations: 5.375 kB / 304.7 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.01655, allocations: 85.83 kB / 304.8 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.01656, allocations: 2.25 kB / 304.8 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.01668, allocations: 29.14 kB / 304.8 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.0167, allocations: 9.609 kB / 304.8 MB, free: 5.16 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 8.087e-05/0.01678, allocations: 126.8 kB / 304.9 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.01684, allocations: 20.38 kB / 304.9 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.0171, allocations: 148.3 kB / 305.1 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.0171, allocations: 3.438 kB / 305.1 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.0171, allocations: 0 / 305.1 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.01711, allocations: 2.906 kB / 305.1 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.01738, allocations: 182.8 kB / 305.3 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01738, allocations: 0 / 305.3 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.01772, allocations: 83.61 kB / 305.3 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01772, allocations: 5.438 kB / 305.4 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.01774, allocations: 9.453 kB / 305.4 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.01774, allocations: 1.406 kB / 305.4 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01774, allocations: 0 / 305.4 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.01812, allocations: 262.9 kB / 305.6 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/0.0182, allocations: 30.22 kB / 305.7 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.01825, allocations: 4 kB / 305.7 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.01841, allocations: 17.3 kB / 305.7 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.01844, allocations: 22.14 kB / 305.7 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.01845, allocations: 6.016 kB / 305.7 MB, free: 4.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.078e-05/0.01852, allocations: 88.7 kB / 305.8 MB, free: 4.551 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01852, allocations: 0 / 305.8 MB, free: 4.551 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.01876, allocations: 106.1 kB / 305.9 MB, free: 4.527 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.403e-05/0.01885, allocations: 80.88 kB / 306 MB, free: 4.453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.01904, allocations: 106 kB / 306.1 MB, free: 4.422 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.01904, allocations: 3.406 kB / 306.1 MB, free: 4.422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.839e-05/0.0191, allocations: 67.31 kB / 306.1 MB, free: 4.391 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.0194, allocations: 96.25 kB / 306.2 MB, free: 4.34 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.001084/0.02049, allocations: 0.6467 MB / 306.9 MB, free: 3.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.02052, allocations: 92.62 kB / 307 MB, free: 3.762 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.02063, allocations: 42.94 kB / 307 MB, free: 3.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.02078, allocations: 141.3 kB / 307.2 MB, free: 3.578 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02078, allocations: 0 / 307.2 MB, free: 3.578 MB / 266.7 MB Notification: Performance of Templates: time 0.005612/0.0264, allocations: 4.468 MB / 311.6 MB, free: 15.27 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.6824077321216464]