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.05853/0.05853, allocations: 11.15 MB / 31.73 MB, free: 3.91 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.000988/0.000988, allocations: 95.56 kB / 39.45 MB, free: 6.398 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.001307/0.001307, allocations: 156.6 kB / 47.24 MB, free: 9.609 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.9656/0.9656, allocations: 177.2 MB / 232.1 MB, free: 1.879 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.2119/0.2119, allocations: 17.62 MB / 310.7 MB, free: 1.797 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.313e-06/1.313e-06, allocations: 0 / 392.7 MB, free: 4.199 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.54e-05, allocations: 9.062 kB / 392.7 MB, free: 4.191 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation): time 0.03684/0.03687, allocations: 50.44 MB / 443.2 MB, free: 1.57 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.1582/0.195, allocations: 11.84 MB / 455 MB, free: 48.57 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.1961, allocations: 46.72 kB / 455.1 MB, free: 48.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006692/0.1968, allocations: 323 kB / 455.4 MB, free: 48.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.2018, allocations: 2.977 MB / 458.3 MB, free: 48.08 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00513/0.2069, allocations: 3.032 MB / 461.4 MB, free: 47.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001954/0.2088, allocations: 2.672 MB / 464 MB, free: 46.89 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007138/0.2095, allocations: 0.6046 MB / 464.7 MB, free: 46.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002374/0.2119, allocations: 1.903 MB / 466.6 MB, free: 46.6 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009926/0.2129, allocations: 0.8813 MB / 467.4 MB, free: 46.5 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.696e-05/0.213, allocations: 91.55 kB / 467.5 MB, free: 46.5 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.2168, allocations: 2.061 MB / 469.6 MB, free: 46.35 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.217, allocations: 325 kB / 469.9 MB, free: 46.29 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003782/0.2174, allocations: 443 kB / 470.3 MB, free: 46.25 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004378/0.2217, allocations: 3.071 MB / 473.4 MB, free: 45.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2217, allocations: 0 / 473.4 MB, free: 45.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2217, allocations: 0 / 473.4 MB, free: 45.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.2218, allocations: 3.938 kB / 473.4 MB, free: 45.74 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.001869/0.2236, allocations: 1.678 MB / 475.1 MB, free: 44.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2237, allocations: 9.719 kB / 475.1 MB, free: 44.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.2238, allocations: 179.5 kB / 475.3 MB, free: 44.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006182/0.2245, allocations: 0.6161 MB / 475.9 MB, free: 44.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.2245, allocations: 58.12 kB / 475.9 MB, free: 44.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-05/0.2246, allocations: 78.75 kB / 476 MB, free: 44.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.2252, allocations: 0.7597 MB / 476.8 MB, free: 44.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.2252, allocations: 0 / 476.8 MB, free: 44.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.2253, allocations: 36.41 kB / 476.8 MB, free: 44.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2253, allocations: 19.31 kB / 476.8 MB, free: 44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.2257, allocations: 330.6 kB / 477.2 MB, free: 43.97 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.002423/0.2281, allocations: 3.342 MB / 480.5 MB, free: 41.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.2286, allocations: 397.3 kB / 480.9 MB, free: 41.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.2289, allocations: 272.6 kB / 481.2 MB, free: 41.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.23, allocations: 1.003 MB / 482.2 MB, free: 40.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.23, allocations: 47.58 kB / 482.2 MB, free: 40.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 2.274e-06/0.23, allocations: 0 / 482.2 MB, free: 40.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.0009224/0.2309, allocations: 0.5699 MB / 482.8 MB, free: 40.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.231, allocations: 58 kB / 482.8 MB, free: 40.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.2314, allocations: 0.6821 MB / 483.5 MB, free: 40.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.2314, allocations: 33.7 kB / 483.5 MB, free: 40.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.2316, allocations: 0.5172 MB / 484.1 MB, free: 39.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.716e-05/0.2317, allocations: 211.9 kB / 484.3 MB, free: 39.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.2318, allocations: 176.3 kB / 484.4 MB, free: 39.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.2319, allocations: 0.5672 MB / 485 MB, free: 39.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.2321, allocations: 118.2 kB / 485.1 MB, free: 39.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.2324, allocations: 417.4 kB / 485.5 MB, free: 38.81 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.001523/0.2339, allocations: 1.303 MB / 486.8 MB, free: 38.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2339, allocations: 2.812 kB / 486.8 MB, free: 38.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008796/0.2348, allocations: 0.7052 MB / 487.5 MB, free: 38.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2348, allocations: 6.406 kB / 487.6 MB, free: 38.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.2348, allocations: 6.219 kB / 487.6 MB, free: 38.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/0.2351, allocations: 136 kB / 487.7 MB, free: 37.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.2355, allocations: 180.1 kB / 487.9 MB, free: 37.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005959/0.2361, allocations: 3.182 MB / 491 MB, free: 34.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.2365, allocations: 84.44 kB / 491.1 MB, free: 34.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.2365, allocations: 29.81 kB / 491.2 MB, free: 34.7 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.0001735/0.2367, allocations: 216 kB / 491.4 MB, free: 34.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.2368, allocations: 95.89 kB / 491.5 MB, free: 34.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006673/0.2375, allocations: 0.4987 MB / 492 MB, free: 34.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.2375, allocations: 5.562 kB / 492 MB, free: 34.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.2375, allocations: 0 / 492 MB, free: 34.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2375, allocations: 4.422 kB / 492 MB, free: 34.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.2379, allocations: 418.7 kB / 492.4 MB, free: 34.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.2379, allocations: 1.438 kB / 492.4 MB, free: 34.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.2382, allocations: 95.22 kB / 492.5 MB, free: 34.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.2384, allocations: 129.9 kB / 492.6 MB, free: 34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.2384, allocations: 20.92 kB / 492.6 MB, free: 33.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005488/0.239, allocations: 3.166 MB / 495.8 MB, free: 30.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.239, allocations: 0 / 495.8 MB, free: 30.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008273/0.2398, allocations: 0.739 MB / 496.5 MB, free: 30.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.24, allocations: 150.9 kB / 496.7 MB, free: 30.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/0.2401, allocations: 15.5 kB / 496.7 MB, free: 30.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.2403, allocations: 14.28 kB / 496.7 MB, free: 30.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.2404, allocations: 49.8 kB / 496.8 MB, free: 30.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.2404, allocations: 15.97 kB / 496.8 MB, free: 30.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002827/0.2407, allocations: 412 kB / 497.2 MB, free: 30.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2407, allocations: 0 / 497.2 MB, free: 30.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001775/0.2425, allocations: 0.8136 MB / 498 MB, free: 29.93 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.00163/0.2441, allocations: 1.185 MB / 499.2 MB, free: 29.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007307/0.2449, allocations: 455.8 kB / 499.6 MB, free: 29.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2449, allocations: 0 / 499.6 MB, free: 29.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.2451, allocations: 210.2 kB / 499.8 MB, free: 29.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009739/0.2461, allocations: 415 kB / 0.4885 GB, free: 29.39 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.002564/0.2487, allocations: 1.689 MB / 0.4902 GB, free: 28.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.2488, allocations: 188.7 kB / 0.4903 GB, free: 28.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003846/0.2492, allocations: 111.5 kB / 0.4904 GB, free: 28.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/0.2497, allocations: 360.9 kB / 0.4908 GB, free: 28.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.143e-06/0.2497, allocations: 0 / 0.4908 GB, free: 28.25 MB / 394.7 MB Notification: Performance of Templates: time 0.03185/0.2816, allocations: 34.18 MB / 0.5242 GB, free: 9.723 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.8064615009352565]