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.09301/0.09301, allocations: 15.27 MB / 30.54 MB, free: 5.719 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.0007737/0.0007737, allocations: 110.8 kB / 35.57 MB, free: 1.133 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.0009081/0.0009082, allocations: 184.5 kB / 40.69 MB, free: 4.742 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.361/1.361, allocations: 223.3 MB / 268.9 MB, free: 2.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1237/0.1237, allocations: 23.39 MB / 347.7 MB, free: 6.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005359/0.0005362, allocations: 19.94 kB / 420.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2728, allocations: 60.47 MB / 480.7 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation): time 0.06215/0.335, allocations: 75.15 MB / 0.5428 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03053/0.3656, allocations: 26.63 MB / 0.5688 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00287/0.3685, allocations: 67.5 kB / 0.5689 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.3697, allocations: 306 kB / 0.5692 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007926/0.3776, allocations: 2.607 MB / 0.5717 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008025/0.3857, allocations: 2.569 MB / 0.5742 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004376/0.3901, allocations: 3.878 MB / 0.578 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.3912, allocations: 0.6389 MB / 0.5786 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.3943, allocations: 1.392 MB / 0.58 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.3959, allocations: 0.965 MB / 0.5809 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.396, allocations: 48 kB / 0.581 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2624/0.6584, allocations: 2.336 MB / 0.5833 GB, free: 8.738 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005942/0.659, allocations: 255.6 kB / 0.5835 GB, free: 8.738 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.6602, allocations: 0.5648 MB / 0.5841 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007861/0.668, allocations: 3.147 MB / 0.5871 GB, free: 8.633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6681, allocations: 0 / 0.5871 GB, free: 8.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.6681, allocations: 1.781 kB / 0.5871 GB, free: 8.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.6681, allocations: 0 / 0.5871 GB, free: 8.633 MB / 430.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.002951/0.6711, allocations: 1.48 MB / 0.5886 GB, free: 8.008 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.6711, allocations: 13.91 kB / 0.5886 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.6713, allocations: 107.9 kB / 0.5887 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008723/0.6722, allocations: 0.6302 MB / 0.5893 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.6723, allocations: 64.62 kB / 0.5894 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.6724, allocations: 75.06 kB / 0.5895 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.6737, allocations: 0.8723 MB / 0.5903 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.6738, allocations: 9.344 kB / 0.5903 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.121e-05/0.6738, allocations: 31.16 kB / 0.5903 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.6739, allocations: 21.61 kB / 0.5904 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.6752, allocations: 0.7649 MB / 0.5911 GB, free: 7.465 MB / 430.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.005102/0.6803, allocations: 3.696 MB / 0.5947 GB, free: 5.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.6816, allocations: 0.6795 MB / 0.5954 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008355/0.6825, allocations: 484.2 kB / 0.5958 GB, free: 5.344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003692/0.6862, allocations: 2.152 MB / 0.5979 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.6863, allocations: 41.08 kB / 0.598 GB, free: 19.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 2.785e-06/0.6863, allocations: 0 / 0.598 GB, free: 19.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.002971/0.6892, allocations: 1.336 MB / 0.5993 GB, free: 19.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.6893, allocations: 57.09 kB / 0.5993 GB, free: 19.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.6906, allocations: 0.8136 MB / 0.6001 GB, free: 19.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.673e-05/0.6907, allocations: 41.8 kB / 0.6002 GB, free: 19.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.691, allocations: 450.2 kB / 0.6006 GB, free: 18.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.6912, allocations: 200.1 kB / 0.6008 GB, free: 18.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.6913, allocations: 73.58 kB / 0.6009 GB, free: 18.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.6915, allocations: 339 kB / 0.6012 GB, free: 18.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005829/0.692, allocations: 316 kB / 0.6015 GB, free: 18.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007116/0.6928, allocations: 0.5177 MB / 0.602 GB, free: 18.23 MB / 446.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.00669/0.6995, allocations: 3.18 MB / 0.6051 GB, free: 17.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.6995, allocations: 0 / 0.6051 GB, free: 17.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002175/0.7017, allocations: 1.096 MB / 0.6062 GB, free: 17.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.7017, allocations: 8.75 kB / 0.6062 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.7018, allocations: 4.75 kB / 0.6062 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004516/0.7022, allocations: 189 kB / 0.6064 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007367/0.703, allocations: 184.4 kB / 0.6065 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.7042, allocations: 2.236 MB / 0.6087 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.7054, allocations: 127.9 kB / 0.6089 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.816e-05/0.7055, allocations: 38.56 kB / 0.6089 GB, free: 15.25 MB / 446.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: 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.0004035/0.7059, allocations: 249.7 kB / 0.6091 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.706, allocations: 85.92 kB / 0.6092 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.7077, allocations: 0.8371 MB / 0.61 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.7077, allocations: 6.688 kB / 0.61 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.7077, allocations: 1.375 kB / 0.61 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.7077, allocations: 2.203 kB / 0.61 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.7087, allocations: 0.7811 MB / 0.6108 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.7088, allocations: 2.969 kB / 0.6108 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/0.7093, allocations: 103.3 kB / 0.6109 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003791/0.7097, allocations: 178.5 kB / 0.6111 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.7097, allocations: 23.25 kB / 0.6111 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.7109, allocations: 2.225 MB / 0.6133 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.7109, allocations: 5.109 kB / 0.6133 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.713, allocations: 1.25 MB / 0.6145 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.7135, allocations: 242.7 kB / 0.6147 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.7137, allocations: 14.5 kB / 0.6147 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007221/0.7144, allocations: 51.17 kB / 0.6148 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.7146, allocations: 47.62 kB / 0.6148 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.7146, allocations: 17.61 kB / 0.6148 GB, free: 12.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007343/0.7154, allocations: 0.5535 MB / 0.6154 GB, free: 12.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.7154, allocations: 4 kB / 0.6154 GB, free: 12.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002229/0.7176, allocations: 0.7836 MB / 0.6162 GB, free: 12 MB / 446.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.002578/0.7202, allocations: 1.067 MB / 0.6172 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001963/0.7222, allocations: 0.7731 MB / 0.618 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.7222, allocations: 1.969 kB / 0.618 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007308/0.7229, allocations: 365.9 kB / 0.6183 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/0.7255, allocations: 426.4 kB / 0.6187 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.729, allocations: 2.405 MB / 0.6211 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/0.7297, allocations: 1.006 MB / 0.622 GB, free: 9.641 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008915/0.7306, allocations: 176.1 kB / 0.6222 GB, free: 9.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.7309, allocations: 73.59 kB / 0.6223 GB, free: 9.598 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7309, allocations: 0 / 0.6223 GB, free: 9.598 MB / 446.1 MB Notification: Performance of Templates: time 0.04283/0.7737, allocations: 28.88 MB / 0.6505 GB, free: 4.949 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)