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.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation") translateModel(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.08891/0.08891, allocations: 15.27 MB / 30.9 MB, free: 4.27 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 111.5 kB / 35.92 MB, free: 3.145 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 193.1 kB / 41.02 MB, free: 7.16 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 268.9 MB, free: 6.777 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1374/0.1374, allocations: 23.35 MB / 346.6 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 111.8 kB / 479 MB, free: 1.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3795, allocations: 59.35 MB / 0.5258 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation): time 0.07864/0.4582, allocations: 74.69 MB / 0.5987 GB, free: 9.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03229/0.4905, allocations: 26.72 MB / 0.6248 GB, free: 14.65 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003691/0.4943, allocations: 39.81 kB / 0.6248 GB, free: 14.61 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.4959, allocations: 389 kB / 0.6252 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009853/0.5057, allocations: 2.829 MB / 0.628 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00936/0.5151, allocations: 2.871 MB / 0.6308 GB, free: 8.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004074/0.5192, allocations: 2.665 MB / 0.6334 GB, free: 5.824 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.5205, allocations: 0.753 MB / 0.6341 GB, free: 5.055 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003991/0.5245, allocations: 1.56 MB / 0.6356 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.5261, allocations: 0.9456 MB / 0.6366 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.5263, allocations: 84 kB / 0.6366 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008623/0.5349, allocations: 2.355 MB / 0.6389 GB, free: 100 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004007/0.5354, allocations: 295.2 kB / 0.6392 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008426/0.5362, allocations: 0.5793 MB / 0.6398 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008006/0.5442, allocations: 3.333 MB / 0.643 GB, free: 11.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.5442, allocations: 0 / 0.643 GB, free: 11.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5443, allocations: 3.938 kB / 0.6431 GB, free: 11.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.5443, allocations: 0 / 0.6431 GB, free: 11.88 MB / 494.1 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.003068/0.5474, allocations: 1.636 MB / 0.6447 GB, free: 10.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5474, allocations: 8.031 kB / 0.6447 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.5476, allocations: 110.7 kB / 0.6448 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.5487, allocations: 0.6857 MB / 0.6454 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.5487, allocations: 58 kB / 0.6455 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.5489, allocations: 79.91 kB / 0.6456 GB, free: 9.207 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.5503, allocations: 0.8766 MB / 0.6464 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.5504, allocations: 0 / 0.6464 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.268e-05/0.5504, allocations: 28 kB / 0.6464 GB, free: 8.254 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.5505, allocations: 20 kB / 0.6465 GB, free: 8.234 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.5519, allocations: 0.7467 MB / 0.6472 GB, free: 7.484 MB / 494.1 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.004674/0.5565, allocations: 3.653 MB / 0.6508 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.5578, allocations: 0.6656 MB / 0.6514 GB, free: 2.945 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009671/0.5587, allocations: 498.2 kB / 0.6519 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002668/0.5614, allocations: 2.144 MB / 0.654 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.5615, allocations: 46.98 kB / 0.654 GB, free: 8 kB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.334e-06/0.5615, allocations: 0 / 0.654 GB, free: 8 kB / 494.1 MB Notification: Performance of matching and sorting (n=53): time 0.002525/0.564, allocations: 1.306 MB / 0.6553 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.5641, allocations: 55.84 kB / 0.6554 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/0.565, allocations: 0.8098 MB / 0.6561 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.977e-05/0.5651, allocations: 37.7 kB / 0.6562 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.5654, allocations: 467.3 kB / 0.6566 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.5656, allocations: 193.3 kB / 0.6568 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.5659, allocations: 166.4 kB / 0.657 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.566, allocations: 334 kB / 0.6573 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006054/0.5666, allocations: 309.8 kB / 0.6576 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007631/0.5674, allocations: 0.518 MB / 0.6581 GB, free: 11.61 MB / 0.4981 GB 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.006534/0.5739, allocations: 3.105 MB / 0.6611 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.5739, allocations: 4 kB / 0.6611 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002109/0.5761, allocations: 1.074 MB / 0.6622 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.5761, allocations: 8 kB / 0.6622 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.5761, allocations: 7.984 kB / 0.6622 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/0.5766, allocations: 183.4 kB / 0.6624 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/0.5773, allocations: 175.7 kB / 0.6625 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.5788, allocations: 2.237 MB / 0.6647 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008122/0.5796, allocations: 99.23 kB / 0.6648 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/0.5797, allocations: 39.98 kB / 0.6649 GB, free: 4.406 MB / 0.4981 GB 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.0003677/0.5801, allocations: 244.9 kB / 0.6651 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.5802, allocations: 94.81 kB / 0.6652 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.5819, allocations: 0.8119 MB / 0.666 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.5819, allocations: 7.938 kB / 0.666 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5819, allocations: 0 / 0.666 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.5819, allocations: 7.984 kB / 0.666 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009206/0.5828, allocations: 0.7899 MB / 0.6668 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.5828, allocations: 0 / 0.6668 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/0.5834, allocations: 95.88 kB / 0.6668 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004002/0.5838, allocations: 187.2 kB / 0.667 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/0.5838, allocations: 15.98 kB / 0.667 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.5852, allocations: 2.221 MB / 0.6692 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5852, allocations: 0 / 0.6692 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.5874, allocations: 1.231 MB / 0.6704 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.5877, allocations: 239.8 kB / 0.6706 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.5879, allocations: 12 kB / 0.6707 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.5884, allocations: 27.97 kB / 0.6707 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.5885, allocations: 44.5 kB / 0.6707 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.5886, allocations: 19.98 kB / 0.6707 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006604/0.5892, allocations: 0.5498 MB / 0.6713 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5892, allocations: 0 / 0.6713 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002045/0.5913, allocations: 0.7843 MB / 0.672 GB, free: 12.8 MB / 0.5137 GB 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.00187/0.5932, allocations: 1.09 MB / 0.6731 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.5949, allocations: 0.7624 MB / 0.6739 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5949, allocations: 0 / 0.6739 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006904/0.5956, allocations: 355 kB / 0.6742 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.5974, allocations: 437.1 kB / 0.6746 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.6003, allocations: 1.92 MB / 0.6765 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.6008, allocations: 1.009 MB / 0.6775 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005725/0.6014, allocations: 183.2 kB / 0.6776 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.6016, allocations: 79.41 kB / 0.6777 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.6016, allocations: 0 / 0.6777 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of Templates: time 0.04333/0.6449, allocations: 30.19 MB / 0.7072 GB, free: 8.895 MB / 0.545 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.makefile (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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1)