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-master/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-master/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-master/package.mo): time 0.103/0.103, allocations: 15.28 MB / 30.51 MB, free: 4.355 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.001054/0.001054, allocations: 108.8 kB / 35.49 MB, free: 3.398 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.001369/0.001369, allocations: 196.5 kB / 40.59 MB, free: 7.469 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.451/1.451, allocations: 222.9 MB / 268.4 MB, free: 7.117 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1457/0.1457, allocations: 23.36 MB / 346.1 MB, free: 348 kB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 104.4 kB / 417.7 MB, free: 30.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1019, allocations: 59.37 MB / 477 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation): time 0.2734/0.3753, allocations: 75.78 MB / 0.5399 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0253/0.4006, allocations: 26.69 MB / 0.5659 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/0.4036, allocations: 64 kB / 0.566 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.4052, allocations: 319.6 kB / 0.5663 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.4154, allocations: 2.633 MB / 0.5688 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009086/0.4245, allocations: 2.626 MB / 0.5714 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003503/0.428, allocations: 2.668 MB / 0.574 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.4293, allocations: 0.7327 MB / 0.5747 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00334/0.4327, allocations: 1.537 MB / 0.5762 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.4344, allocations: 0.9884 MB / 0.5772 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.4347, allocations: 87.84 kB / 0.5773 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006026/0.4408, allocations: 2.408 MB / 0.5796 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004536/0.4412, allocations: 306.9 kB / 0.5799 GB, free: 7.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.4423, allocations: 0.5717 MB / 0.5805 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007019/0.4493, allocations: 3.224 MB / 0.5836 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4493, allocations: 0 / 0.5836 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.4494, allocations: 3.984 kB / 0.5836 GB, free: 4.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.461e-05/0.4494, allocations: 4 kB / 0.5836 GB, free: 4.105 MB / 398.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.003341/0.4528, allocations: 1.632 MB / 0.5852 GB, free: 2.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4528, allocations: 12.03 kB / 0.5852 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002825/0.4531, allocations: 110.6 kB / 0.5854 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.4541, allocations: 0.6351 MB / 0.586 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.536e-05/0.4542, allocations: 62 kB / 0.586 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.4543, allocations: 79.89 kB / 0.5861 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.4558, allocations: 0.8688 MB / 0.587 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.4559, allocations: 7.938 kB / 0.587 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.456, allocations: 32 kB / 0.587 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.456, allocations: 19.98 kB / 0.587 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.4574, allocations: 0.7544 MB / 0.5878 GB, free: 15.75 MB / 414.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.004737/0.4622, allocations: 3.646 MB / 0.5913 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.4634, allocations: 0.6643 MB / 0.592 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008999/0.4643, allocations: 486.7 kB / 0.5924 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002697/0.467, allocations: 2.148 MB / 0.5945 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.4671, allocations: 39 kB / 0.5946 GB, free: 8.293 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.053e-06/0.4671, allocations: 0 / 0.5946 GB, free: 8.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.002624/0.4697, allocations: 1.31 MB / 0.5958 GB, free: 6.891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.4698, allocations: 59.84 kB / 0.5959 GB, free: 6.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.4708, allocations: 0.8021 MB / 0.5967 GB, free: 6.008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.4708, allocations: 41.64 kB / 0.5967 GB, free: 5.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.4712, allocations: 463.3 kB / 0.5972 GB, free: 5.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.4714, allocations: 189.3 kB / 0.5973 GB, free: 5.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003474/0.4717, allocations: 162.5 kB / 0.5975 GB, free: 5.145 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.4719, allocations: 345.9 kB / 0.5978 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00074/0.4727, allocations: 305.8 kB / 0.5981 GB, free: 4.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009464/0.4736, allocations: 0.5063 MB / 0.5986 GB, free: 3.914 MB / 414.1 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.007193/0.4808, allocations: 3.125 MB / 0.6017 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.4809, allocations: 0 / 0.6017 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002421/0.4833, allocations: 1.074 MB / 0.6027 GB, free: 15.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.4834, allocations: 12.62 kB / 0.6027 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.4834, allocations: 8 kB / 0.6027 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005396/0.4839, allocations: 179.3 kB / 0.6029 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.4847, allocations: 179.7 kB / 0.6031 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.4862, allocations: 2.237 MB / 0.6053 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.4874, allocations: 115.1 kB / 0.6054 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.4875, allocations: 43.98 kB / 0.6054 GB, free: 12.67 MB / 430.1 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.0004408/0.488, allocations: 245.5 kB / 0.6056 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.4882, allocations: 90.88 kB / 0.6057 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.49, allocations: 0.808 MB / 0.6065 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.49, allocations: 11.98 kB / 0.6065 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.49, allocations: 0 / 0.6065 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.49, allocations: 0 / 0.6065 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.4913, allocations: 0.7783 MB / 0.6073 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.4913, allocations: 0 / 0.6073 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005374/0.4919, allocations: 99.81 kB / 0.6074 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/0.4923, allocations: 179.2 kB / 0.6076 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/0.4924, allocations: 19.98 kB / 0.6076 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.4937, allocations: 2.223 MB / 0.6097 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4937, allocations: 3.938 kB / 0.6098 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.4962, allocations: 1.22 MB / 0.6109 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006582/0.4969, allocations: 243.7 kB / 0.6112 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/0.4972, allocations: 12 kB / 0.6112 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000842/0.498, allocations: 55.8 kB / 0.6112 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.4982, allocations: 44.48 kB / 0.6113 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.4983, allocations: 19.98 kB / 0.6113 GB, free: 6.395 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001083/0.4994, allocations: 0.5536 MB / 0.6118 GB, free: 5.844 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4994, allocations: 0 / 0.6118 GB, free: 5.844 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002079/0.5015, allocations: 0.7881 MB / 0.6126 GB, free: 5.055 MB / 430.1 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.003082/0.5046, allocations: 1.088 MB / 0.6137 GB, free: 3.965 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002291/0.5069, allocations: 0.8279 MB / 0.6145 GB, free: 3.137 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5069, allocations: 0 / 0.6145 GB, free: 3.137 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007683/0.5077, allocations: 364.4 kB / 0.6148 GB, free: 2.785 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.51, allocations: 442 kB / 0.6153 GB, free: 2.379 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.5133, allocations: 2.245 MB / 0.6174 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.5139, allocations: 1.005 MB / 0.6184 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007862/0.5147, allocations: 175.4 kB / 0.6186 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.515, allocations: 79.41 kB / 0.6187 GB, free: 14.82 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.515, allocations: 0 / 0.6187 GB, free: 14.82 MB / 446.1 MB Notification: Performance of Templates: time 0.04178/0.5567, allocations: 29.81 MB / 0.6478 GB, free: 1.207 MB / 462.1 MB 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)