Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.05657/0.05657, allocations: 11.15 MB / 31.01 MB, free: 4.77 MB / 24.77 MB " [Timeout remaining time 180] 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.001242/0.001242, allocations: 92.92 kB / 38.74 MB, free: 6.84 MB / 33.03 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.001437/0.001437, allocations: 162.3 kB / 42.15 MB, free: 3.508 MB / 33.03 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.9679/0.9679, allocations: 177.2 MB / 222.6 MB, free: 6.301 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1802/0.1802, allocations: 17.62 MB / 296.7 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation") translateModel(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.91e-07/9.91e-07, allocations: 0 / 321.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.499e-05, allocations: 3.297 kB / 321.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation): time 0.03349/0.0335, allocations: 50.93 MB / 372 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.04379, allocations: 12.04 MB / 384.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000642/0.04443, allocations: 47.62 kB / 384.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.04501, allocations: 309.4 kB / 384.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004861/0.04987, allocations: 3.011 MB / 387.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005613/0.05548, allocations: 3.04 MB / 390.5 MB, free: 8.344 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002275/0.05775, allocations: 2.68 MB / 393.1 MB, free: 5.652 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000748/0.0585, allocations: 0.6151 MB / 393.8 MB, free: 5.023 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.06109, allocations: 1.903 MB / 395.7 MB, free: 3.113 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009072/0.06199, allocations: 0.8412 MB / 396.5 MB, free: 2.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.0621, allocations: 88 kB / 396.6 MB, free: 2.184 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.06527, allocations: 2.057 MB / 398.6 MB, free: 124 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.06551, allocations: 322.8 kB / 399 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.06589, allocations: 439 kB / 399.4 MB, free: 15.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004115/0.07001, allocations: 3.078 MB / 402.5 MB, free: 12.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.07001, allocations: 0 / 402.5 MB, free: 12.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.07001, allocations: 0 / 402.5 MB, free: 12.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.07002, allocations: 0 / 402.5 MB, free: 12.29 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001547/0.07157, allocations: 1.54 MB / 404 MB, free: 10.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.0716, allocations: 8.031 kB / 404 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.07174, allocations: 127.8 kB / 404.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.07235, allocations: 0.539 MB / 404.7 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.07239, allocations: 62 kB / 404.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-05/0.07247, allocations: 75.95 kB / 404.8 MB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008158/0.07328, allocations: 0.7237 MB / 405.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.0733, allocations: 7.938 kB / 405.5 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.07334, allocations: 31.98 kB / 405.6 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.07336, allocations: 20 kB / 405.6 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.07371, allocations: 294 kB / 405.9 MB, free: 8.727 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002149/0.07586, allocations: 2.411 MB / 408.3 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.07627, allocations: 360.9 kB / 408.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.07659, allocations: 266.1 kB / 408.9 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.07764, allocations: 0.7925 MB / 409.7 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.07767, allocations: 43 kB / 409.7 MB, free: 4.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 1.403e-06/0.07767, allocations: 3.938 kB / 409.7 MB, free: 4.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.0007489/0.07842, allocations: 453.2 kB / 410.2 MB, free: 4.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.07845, allocations: 63.91 kB / 410.2 MB, free: 4.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.07885, allocations: 0.6145 MB / 410.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.07889, allocations: 37.7 kB / 410.9 MB, free: 3.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.07905, allocations: 385.2 kB / 411.3 MB, free: 3.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.07916, allocations: 210.2 kB / 411.5 MB, free: 2.961 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.07931, allocations: 158.5 kB / 411.6 MB, free: 2.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.07942, allocations: 394.6 kB / 412 MB, free: 2.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.07962, allocations: 120.8 kB / 412.1 MB, free: 2.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.08019, allocations: 331.4 kB / 412.5 MB, free: 1.879 MB / 378.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PulmonaryArteries.mass = PulmonaryArteries.tm_start (PulmonaryArteries.m_start[1] + PulmonaryArteries.massOffset = PulmonaryArteries.tm_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PulmonaryVeins.mass = PulmonaryVeins.tm_start (PulmonaryVeins.m_start[1] + PulmonaryVeins.massOffset = PulmonaryVeins.tm_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: SystemicVeins.mass = SystemicVeins.tm_start (SystemicVeins.m_start[1] + SystemicVeins.massOffset = SystemicVeins.tm_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: SystemicArteries.mass = SystemicArteries.tm_start (SystemicArteries.m_start[1] + SystemicArteries.massOffset = SystemicArteries.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.08167, allocations: 1.21 MB / 413.7 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.08167, allocations: 4 kB / 413.7 MB, free: 0.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0007015/0.08238, allocations: 0.567 MB / 414.2 MB, free: 15.99 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.08239, allocations: 10.34 kB / 414.3 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.0824, allocations: 8 kB / 414.3 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/0.08262, allocations: 119.3 kB / 414.4 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.08296, allocations: 167.8 kB / 414.5 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006598/0.08362, allocations: 2.104 MB / 416.6 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.08392, allocations: 83.39 kB / 416.7 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.08396, allocations: 31.98 kB / 416.8 MB, free: 13.37 MB / 394.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: PulmonaryArteries.mass = PulmonaryArteries.tm_start PulmonaryVeins.mass = PulmonaryVeins.tm_start SystemicVeins.mass = SystemicVeins.tm_start SystemicArteries.mass = SystemicArteries.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (98): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.08411, allocations: 161.2 kB / 416.9 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.08418, allocations: 68.06 kB / 417 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004928/0.08468, allocations: 413.9 kB / 417.4 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.08468, allocations: 8 kB / 417.4 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.08468, allocations: 0 / 417.4 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.08469, allocations: 7.984 kB / 417.4 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.08506, allocations: 385.8 kB / 417.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.08506, allocations: 0 / 417.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.08529, allocations: 99.81 kB / 417.9 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/0.08547, allocations: 111.3 kB / 418 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.08549, allocations: 15.98 kB / 418 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008623/0.08635, allocations: 2.081 MB / 420.1 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.08635, allocations: 0 / 420.1 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005864/0.08694, allocations: 0.5667 MB / 420.6 MB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.0871, allocations: 103.3 kB / 420.7 MB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/0.08717, allocations: 16.06 kB / 420.8 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.08736, allocations: 19.98 kB / 420.8 MB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.08743, allocations: 48.41 kB / 420.8 MB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.08745, allocations: 15.98 kB / 420.8 MB, free: 9.078 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002099/0.08766, allocations: 291.4 kB / 421.1 MB, free: 8.797 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08766, allocations: 0 / 421.1 MB, free: 8.797 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001131/0.08879, allocations: 0.8138 MB / 421.9 MB, free: 7.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (PulmonaryArteries.enthalpy,PulmonaryArteries.substanceMasses[1],PulmonaryVeins.enthalpy,PulmonaryVeins.substanceMasses[1],SystemicVeins.enthalpy,SystemicVeins.substanceMasses[1],SystemicArteries.enthalpy,SystemicArteries.substanceMasses[1]) * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/0.09, allocations: 1.169 MB / 423.1 MB, free: 6.809 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005669/0.09057, allocations: 422 kB / 423.5 MB, free: 6.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/0.09058, allocations: 8.5 kB / 423.5 MB, free: 6.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.09081, allocations: 192.5 kB / 423.7 MB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008166/0.09162, allocations: 400.2 kB / 424.1 MB, free: 5.832 MB / 394.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.0938, allocations: 1.553 MB / 425.7 MB, free: 4.238 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.09391, allocations: 191.6 kB / 425.9 MB, free: 4.031 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002879/0.0942, allocations: 117.9 kB / 426 MB, free: 3.914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.09467, allocations: 301.1 kB / 426.3 MB, free: 3.617 MB / 394.7 MB Notification: Performance of SimCode: time 6.02e-07/0.09467, allocations: 0 / 426.3 MB, free: 3.617 MB / 394.7 MB Notification: Performance of Templates: time 0.1383/0.233, allocations: 33.82 MB / 460.1 MB, free: 111.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.705249757040292]