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.1387/0.1387, allocations: 15.28 MB / 30.4 MB, free: 4.395 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.001025/0.001025, allocations: 106.5 kB / 35.38 MB, free: 3.461 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.001221/0.001221, allocations: 193.1 kB / 40.46 MB, free: 7.547 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.387/1.387, allocations: 222.9 MB / 268.3 MB, free: 7.227 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1366/0.1366, allocations: 23.35 MB / 346 MB, free: 468 kB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 103.8 kB / 417.5 MB, free: 30.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1059, allocations: 59.37 MB / 476.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation): time 0.2546/0.3605, allocations: 76.28 MB / 0.5402 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02376/0.3842, allocations: 26.94 MB / 0.5665 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003657/0.388, allocations: 62.41 kB / 0.5665 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.3892, allocations: 313.2 kB / 0.5668 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007324/0.3966, allocations: 2.607 MB / 0.5694 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007859/0.4044, allocations: 2.574 MB / 0.5719 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003869/0.4084, allocations: 3.867 MB / 0.5757 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.4094, allocations: 0.6682 MB / 0.5763 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.412, allocations: 1.407 MB / 0.5777 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.4132, allocations: 0.9691 MB / 0.5786 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.4134, allocations: 56 kB / 0.5787 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006146/0.4195, allocations: 2.351 MB / 0.581 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.4199, allocations: 274.9 kB / 0.5812 GB, free: 6.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006152/0.4205, allocations: 0.5443 MB / 0.5818 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005542/0.426, allocations: 3.162 MB / 0.5849 GB, free: 2.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.426, allocations: 0 / 0.5849 GB, free: 2.836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4261, allocations: 3.938 kB / 0.5849 GB, free: 2.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.4261, allocations: 4 kB / 0.5849 GB, free: 2.828 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.002753/0.4288, allocations: 1.628 MB / 0.5865 GB, free: 1.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.4289, allocations: 12.03 kB / 0.5865 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.4291, allocations: 110.6 kB / 0.5866 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008533/0.4299, allocations: 0.6467 MB / 0.5872 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.43, allocations: 58 kB / 0.5873 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.4301, allocations: 79.91 kB / 0.5873 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.4315, allocations: 0.8688 MB / 0.5882 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.4315, allocations: 0 / 0.5882 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/0.4316, allocations: 32 kB / 0.5882 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4316, allocations: 16 kB / 0.5882 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.433, allocations: 0.7583 MB / 0.589 GB, free: 14.48 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.004324/0.4373, allocations: 3.642 MB / 0.5925 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.4385, allocations: 0.6681 MB / 0.5932 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008485/0.4393, allocations: 482.8 kB / 0.5936 GB, free: 9.469 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002393/0.4418, allocations: 2.155 MB / 0.5957 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.4418, allocations: 39 kB / 0.5958 GB, free: 7.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 1.633e-06/0.4418, allocations: 0 / 0.5958 GB, free: 7.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.002501/0.4443, allocations: 1.314 MB / 0.5971 GB, free: 5.609 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.4444, allocations: 55.84 kB / 0.5971 GB, free: 5.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009238/0.4453, allocations: 0.806 MB / 0.5979 GB, free: 4.727 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.4453, allocations: 37.7 kB / 0.5979 GB, free: 4.684 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.4457, allocations: 459.3 kB / 0.5984 GB, free: 4.227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.4458, allocations: 201.2 kB / 0.5986 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.4461, allocations: 158.5 kB / 0.5987 GB, free: 3.867 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4462, allocations: 342 kB / 0.599 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005937/0.4468, allocations: 309.8 kB / 0.5993 GB, free: 3.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007216/0.4475, allocations: 0.5063 MB / 0.5998 GB, free: 2.637 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.006393/0.4539, allocations: 3.114 MB / 0.6029 GB, free: 15.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.454, allocations: 0 / 0.6029 GB, free: 15.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002211/0.4562, allocations: 1.074 MB / 0.6039 GB, free: 14.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.4562, allocations: 16.05 kB / 0.6039 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.4562, allocations: 7.984 kB / 0.6039 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/0.4567, allocations: 179.3 kB / 0.6041 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007508/0.4575, allocations: 183.6 kB / 0.6043 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.4588, allocations: 2.229 MB / 0.6065 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009486/0.4597, allocations: 119.1 kB / 0.6066 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/0.4598, allocations: 47.91 kB / 0.6066 GB, free: 11.39 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.0003926/0.4602, allocations: 239.5 kB / 0.6069 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.4604, allocations: 86.88 kB / 0.6069 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.4621, allocations: 0.8197 MB / 0.6077 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4621, allocations: 4 kB / 0.6077 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4621, allocations: 0 / 0.6077 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.4621, allocations: 3.984 kB / 0.6078 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009864/0.4631, allocations: 0.7783 MB / 0.6085 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4631, allocations: 0 / 0.6085 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/0.4636, allocations: 103.9 kB / 0.6086 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/0.464, allocations: 171.2 kB / 0.6088 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/0.4641, allocations: 19.98 kB / 0.6088 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.4653, allocations: 2.217 MB / 0.611 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4654, allocations: 8.031 kB / 0.611 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.4675, allocations: 1.227 MB / 0.6122 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/0.4679, allocations: 239.7 kB / 0.6124 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.4681, allocations: 12 kB / 0.6124 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/0.4687, allocations: 55.8 kB / 0.6125 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.4688, allocations: 44.5 kB / 0.6125 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.4689, allocations: 19.98 kB / 0.6125 GB, free: 5.117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006955/0.4696, allocations: 0.5536 MB / 0.6131 GB, free: 4.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4696, allocations: 0 / 0.6131 GB, free: 4.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001966/0.4716, allocations: 0.7764 MB / 0.6138 GB, free: 3.789 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.001892/0.4735, allocations: 1.1 MB / 0.6149 GB, free: 2.691 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.4751, allocations: 0.7504 MB / 0.6156 GB, free: 1.938 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.4752, allocations: 0 / 0.6156 GB, free: 1.938 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000692/0.4759, allocations: 355 kB / 0.616 GB, free: 1.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.4778, allocations: 427.3 kB / 0.6164 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.4809, allocations: 2.235 MB / 0.6186 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.4815, allocations: 1.001 MB / 0.6195 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007714/0.4822, allocations: 176.8 kB / 0.6197 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.4824, allocations: 79.41 kB / 0.6198 GB, free: 13.65 MB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4825, allocations: 0 / 0.6198 GB, free: 13.65 MB / 446.1 MB Notification: Performance of Templates: time 0.04118/0.5236, allocations: 29 MB / 0.6481 GB, free: 0.8398 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)