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.002501/0.002501, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.003215/0.003215, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.68/1.68, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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.09413/0.09413, allocations: 12.75 MB / 271.9 MB, free: 0.4922 MB / 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 / 403.3 MB, free: 7.945 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.556e-05, allocations: 9.172 kB / 403.3 MB, free: 7.938 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.005514/0.00555, allocations: 3.473 MB / 406.7 MB, free: 4.445 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.007593, allocations: 0.8334 MB / 407.6 MB, free: 3.609 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.007793, allocations: 15.88 kB / 407.6 MB, free: 3.594 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.008047, allocations: 75.27 kB / 407.7 MB, free: 3.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004896/0.008537, allocations: 218.2 kB / 407.9 MB, free: 3.305 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.008801, allocations: 111.8 kB / 408 MB, free: 3.195 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007194/0.009521, allocations: 0.6179 MB / 408.6 MB, free: 2.574 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.009774, allocations: 96.78 kB / 408.7 MB, free: 2.477 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.01019, allocations: 303.4 kB / 409 MB, free: 2.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.01053, allocations: 183.4 kB / 409.2 MB, free: 2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.826e-05/0.0106, allocations: 28 kB / 409.2 MB, free: 1.973 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.422e-05/0.01068, allocations: 32 kB / 409.2 MB, free: 1.941 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.91e-05/0.01077, allocations: 79.61 kB / 409.3 MB, free: 1.863 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.01098, allocations: 163.6 kB / 409.5 MB, free: 1.703 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.01155, allocations: 450.5 kB / 409.9 MB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.01155, allocations: 4 kB / 409.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01155, allocations: 0 / 409.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.01156, allocations: 0 / 409.9 MB, free: 1.258 MB / 330.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.001135/0.0127, allocations: 0.6023 MB / 410.5 MB, free: 0.625 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.01274, allocations: 11.98 kB / 410.5 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.01285, allocations: 48.66 kB / 410.6 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.01335, allocations: 272.4 kB / 410.8 MB, free: 276 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.01351, allocations: 132 kB / 411 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.578e-05/0.01358, allocations: 32.33 kB / 411 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2118/0.2253, allocations: 382.7 kB / 411.4 MB, free: 21.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.2254, allocations: 7.719 kB / 411.4 MB, free: 21.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.2254, allocations: 11.41 kB / 411.4 MB, free: 21.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.2254, allocations: 7.188 kB / 411.4 MB, free: 21.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/0.2262, allocations: 245.1 kB / 411.6 MB, free: 21.69 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.228, allocations: 0.6885 MB / 412.3 MB, free: 21.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007245/0.2287, allocations: 232.2 kB / 412.6 MB, free: 21.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/0.2293, allocations: 173.1 kB / 412.7 MB, free: 21.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.2294, allocations: 5.969 kB / 412.7 MB, free: 21.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.2294, allocations: 40.97 kB / 412.8 MB, free: 21.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.785e-06/0.2294, allocations: 0 / 412.8 MB, free: 21.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0011/0.2305, allocations: 332.2 kB / 413.1 MB, free: 21.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.2305, allocations: 53.53 kB / 413.1 MB, free: 20.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.2309, allocations: 252.8 kB / 413.4 MB, free: 20.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.2309, allocations: 31.95 kB / 413.4 MB, free: 20.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.231, allocations: 206 kB / 413.6 MB, free: 20.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.2311, allocations: 83.22 kB / 413.7 MB, free: 20.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.2312, allocations: 52.16 kB / 413.8 MB, free: 20.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.2313, allocations: 338.6 kB / 414.1 MB, free: 20.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.2316, allocations: 84.92 kB / 414.2 MB, free: 20.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.2319, allocations: 88.72 kB / 414.3 MB, free: 20.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/0.2324, allocations: 198.4 kB / 414.5 MB, free: 20.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2324, allocations: 0 / 414.5 MB, free: 20.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007542/0.2332, allocations: 288.5 kB / 414.7 MB, free: 19.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2332, allocations: 5.812 kB / 414.7 MB, free: 19.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2332, allocations: 0 / 414.7 MB, free: 19.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.321e-05/0.2333, allocations: 1.969 kB / 414.7 MB, free: 19.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008523/0.2341, allocations: 100.4 kB / 414.8 MB, free: 19.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.2341, allocations: 0 / 414.8 MB, free: 19.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.2344, allocations: 35.94 kB / 414.9 MB, free: 19.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.2344, allocations: 7.016 kB / 414.9 MB, free: 19.97 MB / 330.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 0.0001476/0.2346, allocations: 151.3 kB / 415 MB, free: 19.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.2347, allocations: 31.05 kB / 415.1 MB, free: 19.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008145/0.2355, allocations: 264.8 kB / 415.3 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.2355, allocations: 2.203 kB / 415.3 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2355, allocations: 4.562 kB / 415.3 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.2355, allocations: 1.359 kB / 415.3 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/0.236, allocations: 273.3 kB / 415.6 MB, free: 19.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.236, allocations: 3.938 kB / 415.6 MB, free: 19.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007679/0.2367, allocations: 84 kB / 415.7 MB, free: 19.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2368, allocations: 1.031 kB / 415.7 MB, free: 19.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.2368, allocations: 10.92 kB / 415.7 MB, free: 19.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2368, allocations: 1.219 kB / 415.7 MB, free: 19.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2368, allocations: 1 kB / 415.7 MB, free: 19.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.2379, allocations: 458.4 kB / 416.1 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.238, allocations: 34.33 kB / 416.2 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.238, allocations: 3.359 kB / 416.2 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.2383, allocations: 19.83 kB / 416.2 MB, free: 19.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.2384, allocations: 17.06 kB / 416.2 MB, free: 19.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.2384, allocations: 7.047 kB / 416.2 MB, free: 19.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002031/0.2386, allocations: 190.8 kB / 416.4 MB, free: 19.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2386, allocations: 0 / 416.4 MB, free: 19.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005673/0.2392, allocations: 103.8 kB / 416.5 MB, free: 19.11 MB / 330.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 0.0001265/0.2393, allocations: 104.2 kB / 416.6 MB, free: 19.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007736/0.2401, allocations: 212.4 kB / 416.8 MB, free: 18.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.2401, allocations: 0 / 416.8 MB, free: 18.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.2405, allocations: 116.2 kB / 416.9 MB, free: 18.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008325/0.2413, allocations: 82.02 kB / 417 MB, free: 18.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.2428, allocations: 0.6978 MB / 417.7 MB, free: 18.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.243, allocations: 175.5 kB / 417.9 MB, free: 18.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.2433, allocations: 38.45 kB / 417.9 MB, free: 18.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.2434, allocations: 32.08 kB / 418 MB, free: 18.35 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2434, allocations: 0 / 418 MB, free: 18.35 MB / 330.7 MB Notification: Performance of Templates: time 0.02547/0.2689, allocations: 4.057 MB / 422 MB, free: 17.77 MB / 330.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: 5.701161029282957]