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.08628/0.08628, allocations: 15.28 MB / 30.91 MB, free: 4.152 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.0009133/0.0009133, allocations: 113.7 kB / 35.92 MB, free: 3.18 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.001148/0.001148, allocations: 193.1 kB / 41.02 MB, free: 7.117 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.399/1.399, allocations: 222.9 MB / 268.9 MB, free: 6.902 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1437/0.1437, allocations: 23.35 MB / 346.6 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002059, allocations: 115.8 kB / 479.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3743, allocations: 59.34 MB / 0.5258 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation): time 0.08051/0.4549, allocations: 74.69 MB / 0.5987 GB, free: 9.438 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03265/0.4876, allocations: 26.72 MB / 0.6248 GB, free: 14.62 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/0.4905, allocations: 39.81 kB / 0.6248 GB, free: 14.59 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.4924, allocations: 385 kB / 0.6252 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.5028, allocations: 2.821 MB / 0.628 GB, free: 11.37 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009973/0.5129, allocations: 2.882 MB / 0.6308 GB, free: 8.473 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003527/0.5164, allocations: 2.665 MB / 0.6334 GB, free: 5.797 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.5177, allocations: 0.7491 MB / 0.6341 GB, free: 5.031 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003548/0.5213, allocations: 1.556 MB / 0.6356 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/0.5234, allocations: 0.9495 MB / 0.6366 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003845/0.5238, allocations: 91.94 kB / 0.6367 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008306/0.5322, allocations: 2.351 MB / 0.6389 GB, free: 72 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006852/0.5329, allocations: 291.2 kB / 0.6392 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.5343, allocations: 0.5833 MB / 0.6398 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00905/0.5433, allocations: 3.333 MB / 0.643 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.5434, allocations: 0 / 0.643 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.5434, allocations: 3.938 kB / 0.6431 GB, free: 11.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.762e-05/0.5434, allocations: 0 / 0.6431 GB, free: 11.85 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.003653/0.5471, allocations: 1.628 MB / 0.6446 GB, free: 10.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.5472, allocations: 8.031 kB / 0.6447 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/0.5475, allocations: 110.7 kB / 0.6448 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.5489, allocations: 0.6935 MB / 0.6454 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/0.549, allocations: 58 kB / 0.6455 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.5491, allocations: 75.91 kB / 0.6456 GB, free: 9.184 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.5508, allocations: 0.8766 MB / 0.6464 GB, free: 8.258 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.5508, allocations: 0 / 0.6464 GB, free: 8.258 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.239e-05/0.5509, allocations: 32 kB / 0.6464 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.5509, allocations: 20 kB / 0.6465 GB, free: 8.207 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.5525, allocations: 0.7467 MB / 0.6472 GB, free: 7.457 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.005387/0.5579, allocations: 3.657 MB / 0.6508 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.5592, allocations: 0.6578 MB / 0.6514 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.5602, allocations: 498.2 kB / 0.6519 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002938/0.5631, allocations: 2.148 MB / 0.654 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.5632, allocations: 43.05 kB / 0.654 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.565e-06/0.5632, allocations: 0 / 0.654 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.002778/0.566, allocations: 1.306 MB / 0.6553 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.5661, allocations: 55.84 kB / 0.6554 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.5672, allocations: 0.8137 MB / 0.6561 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.801e-05/0.5673, allocations: 37.7 kB / 0.6562 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.5677, allocations: 455.3 kB / 0.6566 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.5679, allocations: 197.3 kB / 0.6568 GB, free: 13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/0.5682, allocations: 158.5 kB / 0.657 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5683, allocations: 342 kB / 0.6573 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.569, allocations: 313.7 kB / 0.6576 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008092/0.5698, allocations: 0.5141 MB / 0.6581 GB, free: 11.59 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.006802/0.5766, allocations: 3.102 MB / 0.6611 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.5767, allocations: 7.938 kB / 0.6611 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002742/0.5794, allocations: 1.077 MB / 0.6622 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.5795, allocations: 8 kB / 0.6622 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.5795, allocations: 11.92 kB / 0.6622 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005534/0.58, allocations: 179.4 kB / 0.6624 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/0.5808, allocations: 175.7 kB / 0.6625 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.5827, allocations: 2.237 MB / 0.6647 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.5837, allocations: 99.23 kB / 0.6648 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.5839, allocations: 43.97 kB / 0.6648 GB, free: 4.379 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.0005639/0.5844, allocations: 241.3 kB / 0.6651 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.5847, allocations: 94.81 kB / 0.6652 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.5867, allocations: 0.8235 MB / 0.666 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.5867, allocations: 7.938 kB / 0.666 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5867, allocations: 0 / 0.666 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.5868, allocations: 11.98 kB / 0.666 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.588, allocations: 0.7743 MB / 0.6667 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.588, allocations: 4 kB / 0.6668 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.5886, allocations: 95.88 kB / 0.6668 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/0.5891, allocations: 183.2 kB / 0.667 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/0.5891, allocations: 15.98 kB / 0.667 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.5906, allocations: 2.221 MB / 0.6692 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.5906, allocations: 0 / 0.6692 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.593, allocations: 1.235 MB / 0.6704 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004892/0.5936, allocations: 235.8 kB / 0.6706 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.5937, allocations: 15.98 kB / 0.6707 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/0.5943, allocations: 19.98 kB / 0.6707 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.5945, allocations: 48.5 kB / 0.6707 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.5945, allocations: 19.98 kB / 0.6707 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000771/0.5953, allocations: 0.5498 MB / 0.6713 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5953, allocations: 0 / 0.6713 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002264/0.5976, allocations: 0.7804 MB / 0.672 GB, free: 12.78 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.002664/0.6003, allocations: 1.097 MB / 0.6731 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.6023, allocations: 0.7544 MB / 0.6738 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6023, allocations: 4 kB / 0.6738 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007493/0.6031, allocations: 359 kB / 0.6742 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.6054, allocations: 438 kB / 0.6746 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.6089, allocations: 1.916 MB / 0.6765 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/0.6097, allocations: 1.009 MB / 0.6775 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000714/0.6104, allocations: 194.5 kB / 0.6776 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.6106, allocations: 71.42 kB / 0.6777 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.6106, allocations: 0 / 0.6777 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of Templates: time 0.05282/0.6635, allocations: 30.61 MB / 0.7076 GB, free: 8.441 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)