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.0519/0.0519, allocations: 11.16 MB / 30.71 MB, free: 4.473 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.001063/0.001063, allocations: 106.8 kB / 38.41 MB, free: 7 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.001308/0.001308, allocations: 156.5 kB / 46.17 MB, free: 10.34 MB / 44.04 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.9138/0.9138, allocations: 177.1 MB / 231 MB, free: 2.113 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.2009/0.2009, allocations: 17.63 MB / 309.5 MB, free: 1.953 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 1.192e-06/1.192e-06, allocations: 0 / 391.4 MB, free: 4.508 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.078e-05, allocations: 5.547 kB / 391.4 MB, free: 4.504 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation): time 0.0389/0.03892, allocations: 51.45 MB / 442.9 MB, free: 0.875 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.1581/0.197, allocations: 12.14 MB / 455 MB, free: 48.48 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009572/0.1979, allocations: 43.75 kB / 455.1 MB, free: 48.48 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006079/0.1985, allocations: 320 kB / 455.4 MB, free: 48.48 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.2034, allocations: 2.978 MB / 458.4 MB, free: 47.97 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005253/0.2086, allocations: 3.028 MB / 461.4 MB, free: 47.39 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001973/0.2106, allocations: 2.679 MB / 464.1 MB, free: 46.77 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007452/0.2113, allocations: 0.5945 MB / 464.7 MB, free: 46.73 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.2138, allocations: 1.907 MB / 466.6 MB, free: 46.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.215, allocations: 0.8839 MB / 467.5 MB, free: 46.39 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.2152, allocations: 87.97 kB / 467.5 MB, free: 46.39 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003438/0.2186, allocations: 2.058 MB / 469.6 MB, free: 46.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.2188, allocations: 326.9 kB / 469.9 MB, free: 46.18 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003507/0.2192, allocations: 437.2 kB / 470.4 MB, free: 46.13 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003583/0.2228, allocations: 3.079 MB / 473.4 MB, free: 45.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2228, allocations: 0 / 473.4 MB, free: 45.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2228, allocations: 0 / 473.4 MB, free: 45.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.2228, allocations: 0 / 473.4 MB, free: 45.63 MB / 394.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.001897/0.2247, allocations: 1.692 MB / 475.1 MB, free: 44.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2247, allocations: 6.344 kB / 475.1 MB, free: 44.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.2249, allocations: 173.2 kB / 475.3 MB, free: 44.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/0.2255, allocations: 0.631 MB / 475.9 MB, free: 44.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.2256, allocations: 58.28 kB / 476 MB, free: 44.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.2257, allocations: 74 kB / 476.1 MB, free: 44.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007254/0.2264, allocations: 0.8123 MB / 476.9 MB, free: 43.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.2264, allocations: 3.375 kB / 476.9 MB, free: 43.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.2264, allocations: 30.47 kB / 476.9 MB, free: 43.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.2265, allocations: 22.47 kB / 476.9 MB, free: 43.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.227, allocations: 397.8 kB / 477.3 MB, free: 43.59 MB / 394.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.002256/0.2292, allocations: 3.333 MB / 480.6 MB, free: 41.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.2298, allocations: 434.8 kB / 481.1 MB, free: 40.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/0.2302, allocations: 310.8 kB / 481.4 MB, free: 40.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/0.2313, allocations: 1.009 MB / 482.4 MB, free: 40.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.2313, allocations: 41.2 kB / 482.4 MB, free: 40.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 1.603e-06/0.2313, allocations: 0 / 482.4 MB, free: 40.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.001013/0.2323, allocations: 0.6387 MB / 483.1 MB, free: 40.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.2323, allocations: 64.81 kB / 483.1 MB, free: 39.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/0.2328, allocations: 0.6954 MB / 483.8 MB, free: 39.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.2328, allocations: 36.86 kB / 483.9 MB, free: 39.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.233, allocations: 0.504 MB / 484.4 MB, free: 39.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/0.2331, allocations: 211.5 kB / 484.6 MB, free: 39.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.2332, allocations: 168.1 kB / 484.7 MB, free: 38.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.2333, allocations: 0.5602 MB / 485.3 MB, free: 38.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.2335, allocations: 129.5 kB / 485.4 MB, free: 38.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.2338, allocations: 434.3 kB / 485.8 MB, free: 38.04 MB / 394.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.001632/0.2354, allocations: 1.384 MB / 487.2 MB, free: 37.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.2354, allocations: 1.25 kB / 487.2 MB, free: 37.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0009833/0.2364, allocations: 0.741 MB / 488 MB, free: 37.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2364, allocations: 7.25 kB / 488 MB, free: 37.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.2365, allocations: 11.03 kB / 488 MB, free: 37.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002729/0.2367, allocations: 137.7 kB / 488.1 MB, free: 37.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.2371, allocations: 179.2 kB / 488.3 MB, free: 37.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000582/0.2377, allocations: 3.183 MB / 491.5 MB, free: 33.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.238, allocations: 81.75 kB / 491.6 MB, free: 33.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.2381, allocations: 45.45 kB / 491.6 MB, free: 33.89 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.0001605/0.2382, allocations: 215.2 kB / 491.8 MB, free: 33.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.734e-05/0.2383, allocations: 101.4 kB / 491.9 MB, free: 33.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006999/0.239, allocations: 0.5395 MB / 492.5 MB, free: 33.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.239, allocations: 5.719 kB / 492.5 MB, free: 33.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.239, allocations: 0 / 492.5 MB, free: 33.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.239, allocations: 3.328 kB / 492.5 MB, free: 33.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.2395, allocations: 0.506 MB / 493 MB, free: 33.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2395, allocations: 1.531 kB / 493 MB, free: 33.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.2397, allocations: 96.62 kB / 493.1 MB, free: 33.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.2399, allocations: 127.6 kB / 493.2 MB, free: 33.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.24, allocations: 16.64 kB / 493.2 MB, free: 33.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004933/0.2405, allocations: 3.177 MB / 496.4 MB, free: 29.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2405, allocations: 0 / 496.4 MB, free: 29.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008868/0.2413, allocations: 0.8066 MB / 497.2 MB, free: 29.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.2415, allocations: 161.2 kB / 497.3 MB, free: 29.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.2416, allocations: 11.38 kB / 497.4 MB, free: 29.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.2418, allocations: 21.86 kB / 497.4 MB, free: 29.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.2419, allocations: 50.44 kB / 497.4 MB, free: 29.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.2419, allocations: 18.38 kB / 497.4 MB, free: 29.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003549/0.2422, allocations: 453.8 kB / 497.9 MB, free: 29.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2422, allocations: 0 / 497.9 MB, free: 29.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001325/0.2436, allocations: 0.816 MB / 498.7 MB, free: 28.89 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.001317/0.2449, allocations: 1.127 MB / 499.8 MB, free: 28.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007223/0.2456, allocations: 491.6 kB / 0.4886 GB, free: 28.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2456, allocations: 0 / 0.4886 GB, free: 28.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.2459, allocations: 236.3 kB / 0.4888 GB, free: 28.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008832/0.2468, allocations: 398 kB / 0.4892 GB, free: 28.32 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.002454/0.2493, allocations: 1.71 MB / 0.4909 GB, free: 27.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.2494, allocations: 185.8 kB / 0.491 GB, free: 27.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003739/0.2497, allocations: 154.3 kB / 0.4912 GB, free: 27.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.2499, allocations: 71.92 kB / 0.4913 GB, free: 27.23 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2499, allocations: 0 / 0.4913 GB, free: 27.23 MB / 394.7 MB Notification: Performance of Templates: time 0.02543/0.2753, allocations: 29.53 MB / 0.5201 GB, free: 13.07 MB / 394.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.817921828944236]