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.09694/0.09694, allocations: 15.28 MB / 31.53 MB, free: 4.141 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.0009556/0.0009556, allocations: 113.4 kB / 36.54 MB, free: 3.195 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.001127/0.001127, allocations: 185.1 kB / 41.64 MB, free: 7.148 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.426/1.426, allocations: 222.9 MB / 269.5 MB, free: 6.855 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1389/0.1389, allocations: 23.35 MB / 347.2 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 112.3 kB / 419.7 MB, free: 29.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1257, allocations: 59.37 MB / 479 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation): time 0.3085/0.4343, allocations: 74.66 MB / 0.5407 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02932/0.4637, allocations: 26.74 MB / 0.5668 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002376/0.4661, allocations: 35.69 kB / 0.5669 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.4674, allocations: 390.9 kB / 0.5672 GB, free: 420 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00896/0.4764, allocations: 2.831 MB / 0.57 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01052/0.4869, allocations: 2.865 MB / 0.5728 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003427/0.4904, allocations: 2.67 MB / 0.5754 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.4915, allocations: 0.7455 MB / 0.5761 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.4946, allocations: 1.552 MB / 0.5776 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.4961, allocations: 0.9567 MB / 0.5786 GB, free: 8.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.4962, allocations: 89 kB / 0.5787 GB, free: 8.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006442/0.5026, allocations: 2.348 MB / 0.581 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.503, allocations: 295.1 kB / 0.5812 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007592/0.5038, allocations: 0.5833 MB / 0.5818 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006754/0.5105, allocations: 3.318 MB / 0.585 GB, free: 2.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5106, allocations: 0 / 0.585 GB, free: 2.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5106, allocations: 4 kB / 0.585 GB, free: 2.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.5106, allocations: 0 / 0.585 GB, free: 2.855 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.002857/0.5135, allocations: 1.632 MB / 0.5866 GB, free: 1.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5135, allocations: 8.031 kB / 0.5866 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.5137, allocations: 110.7 kB / 0.5868 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.5148, allocations: 0.6973 MB / 0.5874 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/0.5149, allocations: 54 kB / 0.5875 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.515, allocations: 83.84 kB / 0.5876 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.5164, allocations: 0.8689 MB / 0.5884 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.5164, allocations: 0 / 0.5884 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.5165, allocations: 32 kB / 0.5884 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.5165, allocations: 16 kB / 0.5885 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.5178, allocations: 0.7544 MB / 0.5892 GB, free: 14.45 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.004675/0.5225, allocations: 3.65 MB / 0.5928 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.5237, allocations: 0.6579 MB / 0.5934 GB, free: 9.926 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008503/0.5246, allocations: 478.2 kB / 0.5939 GB, free: 9.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002744/0.5273, allocations: 2.155 MB / 0.596 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.5274, allocations: 42.94 kB / 0.596 GB, free: 7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 1.963e-06/0.5274, allocations: 0 / 0.596 GB, free: 7 MB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.002527/0.5299, allocations: 1.318 MB / 0.5973 GB, free: 5.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.53, allocations: 55.84 kB / 0.5973 GB, free: 5.523 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000934/0.5309, allocations: 0.8098 MB / 0.5981 GB, free: 4.703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.531, allocations: 37.7 kB / 0.5982 GB, free: 4.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.5313, allocations: 459.3 kB / 0.5986 GB, free: 4.203 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.5314, allocations: 193.3 kB / 0.5988 GB, free: 4.012 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.5317, allocations: 158.5 kB / 0.5989 GB, free: 3.848 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5319, allocations: 345.9 kB / 0.5993 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/0.5325, allocations: 305.8 kB / 0.5996 GB, free: 3.207 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/0.5332, allocations: 0.5024 MB / 0.6001 GB, free: 2.617 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.006238/0.5394, allocations: 3.103 MB / 0.6031 GB, free: 15.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.5395, allocations: 8 kB / 0.6031 GB, free: 15.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002226/0.5417, allocations: 1.073 MB / 0.6041 GB, free: 14.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.5417, allocations: 11.16 kB / 0.6042 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.5418, allocations: 8 kB / 0.6042 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000496/0.5423, allocations: 175.3 kB / 0.6043 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007365/0.543, allocations: 191.6 kB / 0.6045 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.5444, allocations: 2.241 MB / 0.6067 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008624/0.5452, allocations: 94.95 kB / 0.6068 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/0.5453, allocations: 43.97 kB / 0.6068 GB, free: 11.4 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.0003591/0.5457, allocations: 247 kB / 0.6071 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.5458, allocations: 94.86 kB / 0.6072 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.5475, allocations: 0.8041 MB / 0.6079 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5475, allocations: 7.938 kB / 0.6079 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5475, allocations: 0 / 0.6079 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5475, allocations: 3.984 kB / 0.608 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009072/0.5484, allocations: 0.7861 MB / 0.6087 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5484, allocations: 0 / 0.6087 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.5489, allocations: 103.8 kB / 0.6088 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003826/0.5493, allocations: 167.3 kB / 0.609 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.5494, allocations: 15.98 kB / 0.609 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.5507, allocations: 2.233 MB / 0.6112 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5507, allocations: 3.938 kB / 0.6112 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.5527, allocations: 1.22 MB / 0.6124 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/0.5531, allocations: 243.7 kB / 0.6126 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.5532, allocations: 12 kB / 0.6126 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.5537, allocations: 19.98 kB / 0.6126 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5538, allocations: 48.44 kB / 0.6127 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/0.5539, allocations: 19.98 kB / 0.6127 GB, free: 5.152 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006397/0.5546, allocations: 0.5575 MB / 0.6132 GB, free: 4.598 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5546, allocations: 0 / 0.6132 GB, free: 4.598 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001829/0.5564, allocations: 0.792 MB / 0.614 GB, free: 3.805 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.001783/0.5582, allocations: 1.084 MB / 0.6151 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.5598, allocations: 0.7667 MB / 0.6158 GB, free: 1.945 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5598, allocations: 0 / 0.6158 GB, free: 1.945 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006757/0.5605, allocations: 367.2 kB / 0.6162 GB, free: 1.586 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.5622, allocations: 428.1 kB / 0.6166 GB, free: 1.188 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.5653, allocations: 1.911 MB / 0.6184 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.5658, allocations: 1.001 MB / 0.6194 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005856/0.5664, allocations: 178.9 kB / 0.6196 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.5666, allocations: 75.42 kB / 0.6197 GB, free: 13.97 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5666, allocations: 0 / 0.6197 GB, free: 13.97 MB / 446.1 MB Notification: Performance of Templates: time 0.04198/0.6086, allocations: 30.02 MB / 0.649 GB, free: 120 kB / 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 -s cvode -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1)