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.0009198/0.0009198, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001149/0.001149, allocations: 169 kB / 24.06 MB, free: 456 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.9673/0.9673, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.08308/0.08308, allocations: 12.76 MB / 273.8 MB, free: 128 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.963e-06/1.963e-06, allocations: 0 / 347.3 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.573e-05, allocations: 8.562 kB / 347.3 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation): time 0.004578/0.004604, allocations: 3.806 MB / 351.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.006447, allocations: 0.8413 MB / 351.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.0067, allocations: 11.88 kB / 352 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.006942, allocations: 75.22 kB / 352 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005755/0.007517, allocations: 222.2 kB / 352.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.007791, allocations: 103.8 kB / 352.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007057/0.008497, allocations: 0.6218 MB / 353 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.008728, allocations: 88.84 kB / 353.1 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004715/0.009199, allocations: 311.3 kB / 353.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.009523, allocations: 183.5 kB / 353.5 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.009582, allocations: 28 kB / 353.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.262e-05/0.009655, allocations: 32 kB / 353.6 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.009718, allocations: 75.67 kB / 353.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.009884, allocations: 163.6 kB / 353.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.01032, allocations: 334.7 kB / 354.2 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.01033, allocations: 4 kB / 354.2 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01033, allocations: 0 / 354.2 MB, free: 10.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.01034, allocations: 0 / 354.2 MB, free: 10.69 MB / 282.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.0009159/0.01125, allocations: 0.7099 MB / 354.9 MB, free: 9.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.01129, allocations: 11.98 kB / 354.9 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.01141, allocations: 68.66 kB / 354.9 MB, free: 9.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.01181, allocations: 283.3 kB / 355.2 MB, free: 9.559 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.01191, allocations: 132 kB / 355.4 MB, free: 9.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.01196, allocations: 28.38 kB / 355.4 MB, free: 9.379 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.01238, allocations: 322.1 kB / 355.7 MB, free: 9.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.01239, allocations: 8.141 kB / 355.7 MB, free: 9.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.01242, allocations: 15.94 kB / 355.7 MB, free: 9.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.01243, allocations: 7.938 kB / 355.7 MB, free: 9 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.01264, allocations: 111.1 kB / 355.8 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.01374, allocations: 0.6642 MB / 356.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.01402, allocations: 154.9 kB / 356.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.01427, allocations: 127.6 kB / 356.8 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.01429, allocations: 4 kB / 356.8 MB, free: 7.902 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.01432, allocations: 41.38 kB / 356.8 MB, free: 7.852 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.01432, allocations: 4 kB / 356.8 MB, free: 7.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003788/0.0147, allocations: 187.6 kB / 357 MB, free: 7.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.01473, allocations: 59.34 kB / 357.1 MB, free: 7.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.01496, allocations: 302.1 kB / 357.4 MB, free: 7.277 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.01499, allocations: 33.7 kB / 357.4 MB, free: 7.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.01513, allocations: 255.2 kB / 357.6 MB, free: 6.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.01519, allocations: 75.27 kB / 357.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.513e-05/0.01527, allocations: 59.31 kB / 357.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.01543, allocations: 0.5079 MB / 358.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.0155, allocations: 35.97 kB / 358.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.102e-05/0.01557, allocations: 43.97 kB / 358.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.01573, allocations: 87.62 kB / 358.4 MB, free: 6.156 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.01574, allocations: 3.984 kB / 358.4 MB, free: 6.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002722/0.01601, allocations: 189.9 kB / 358.6 MB, free: 5.961 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01603, allocations: 7.938 kB / 358.6 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01603, allocations: 0 / 358.6 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.01604, allocations: 4 kB / 358.6 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.01647, allocations: 95.86 kB / 358.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.01647, allocations: 3.938 kB / 358.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.0166, allocations: 23.89 kB / 358.8 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.01662, allocations: 7.984 kB / 358.8 MB, free: 5.82 MB / 282.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.0001143/0.01674, allocations: 164.6 kB / 358.9 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.0168, allocations: 31.81 kB / 359 MB, free: 5.617 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.0171, allocations: 186.6 kB / 359.1 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.01711, allocations: 7.938 kB / 359.2 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01711, allocations: 0 / 359.2 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.01711, allocations: 3.984 kB / 359.2 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.01742, allocations: 217 kB / 359.4 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01743, allocations: 0 / 359.4 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.01781, allocations: 79.88 kB / 359.5 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01782, allocations: 0 / 359.5 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.01784, allocations: 11.98 kB / 359.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01784, allocations: 0 / 359.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01784, allocations: 0 / 359.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.01826, allocations: 361.5 kB / 359.8 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.0183, allocations: 27.8 kB / 359.8 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.01834, allocations: 4 kB / 359.8 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.01849, allocations: 11.98 kB / 359.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.01853, allocations: 19.91 kB / 359.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.01854, allocations: 4 kB / 359.9 MB, free: 4.656 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.01867, allocations: 203 kB / 360.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01867, allocations: 0 / 360.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.01892, allocations: 103.8 kB / 360.2 MB, free: 4.355 MB / 282.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.262e-05/0.01902, allocations: 103.1 kB / 360.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.01918, allocations: 119.5 kB / 360.4 MB, free: 4.121 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.01919, allocations: 0 / 360.4 MB, free: 4.121 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.01925, allocations: 74.7 kB / 360.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.01956, allocations: 96.8 kB / 360.6 MB, free: 3.949 MB / 282.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.001158/0.02072, allocations: 0.7244 MB / 361.3 MB, free: 3.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.02082, allocations: 181.1 kB / 361.5 MB, free: 2.988 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.02102, allocations: 178.1 kB / 361.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02103, allocations: 4 kB / 361.6 MB, free: 2.809 MB / 282.7 MB Notification: Performance of Templates: time 0.004099/0.02512, allocations: 4.479 MB / 366.1 MB, free: 14.36 MB / 298.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 > Bodylight_Bodylight.Hydraulic.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7480464023537934]