Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.PulsatileCirculation.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.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.PulsatileCirculation") translateModel(Physiolibrary.Fluid.Examples.Kofranek2014.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.PulsatileCirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09213/0.09213, allocations: 15.29 MB / 31.59 MB, free: 4.109 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.001087/0.001088, allocations: 103 kB / 36.59 MB, free: 3.176 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.001385/0.001385, allocations: 193.1 kB / 41.7 MB, free: 7.121 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.45/1.45, allocations: 222.9 MB / 269.6 MB, free: 6.852 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1346/0.1346, allocations: 23.35 MB / 347.3 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 111.8 kB / 479.8 MB, free: 1.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.31, allocations: 59.35 MB / 0.5265 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Kofranek2014.PulsatileCirculation): time 0.1052/0.4152, allocations: 99.8 MB / 0.6239 GB, free: 236 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03037/0.4456, allocations: 26.91 MB / 0.6502 GB, free: 5.219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.4473, allocations: 39.81 kB / 0.6503 GB, free: 5.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.4487, allocations: 448.6 kB / 0.6507 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007814/0.4565, allocations: 2.993 MB / 0.6536 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.4669, allocations: 2.953 MB / 0.6565 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004367/0.4713, allocations: 2.867 MB / 0.6593 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.4728, allocations: 0.833 MB / 0.6601 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003935/0.4767, allocations: 1.653 MB / 0.6617 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.4787, allocations: 1.051 MB / 0.6627 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.479, allocations: 104 kB / 0.6628 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006651/0.4857, allocations: 2.379 MB / 0.6652 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005151/0.4862, allocations: 326.9 kB / 0.6655 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.4874, allocations: 0.6612 MB / 0.6661 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008868/0.4963, allocations: 3.542 MB / 0.6696 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4963, allocations: 7.984 kB / 0.6696 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4963, allocations: 0 / 0.6696 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.643e-05/0.4964, allocations: 4 kB / 0.6696 GB, free: 1.285 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003851/0.5002, allocations: 1.818 MB / 0.6714 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.5003, allocations: 12.02 kB / 0.6714 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.5006, allocations: 131.1 kB / 0.6715 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.5019, allocations: 0.7408 MB / 0.6722 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.936e-05/0.502, allocations: 66 kB / 0.6723 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.5022, allocations: 88 kB / 0.6724 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.504, allocations: 0.9872 MB / 0.6733 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.504, allocations: 3.938 kB / 0.6733 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.688e-05/0.5041, allocations: 43.94 kB / 0.6734 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.5041, allocations: 24 kB / 0.6734 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.5059, allocations: 0.8508 MB / 0.6742 GB, free: 12.38 MB / 0.5137 GB 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.005518/0.5115, allocations: 4.069 MB / 0.6782 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.5129, allocations: 0.7556 MB / 0.679 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.514, allocations: 0.5502 MB / 0.6795 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003031/0.5171, allocations: 2.289 MB / 0.6817 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008082/0.5179, allocations: 410.9 kB / 0.6821 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=65): time 2.585e-06/0.5179, allocations: 4 kB / 0.6821 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65): time 0.002664/0.5206, allocations: 1.252 MB / 0.6833 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.5206, allocations: 59.97 kB / 0.6834 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.5217, allocations: 0.8412 MB / 0.6842 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.5218, allocations: 41.7 kB / 0.6843 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.5221, allocations: 0.4885 MB / 0.6847 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.5223, allocations: 238 kB / 0.685 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.5226, allocations: 186.5 kB / 0.6851 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5227, allocations: 341.9 kB / 0.6855 GB, free: 272 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008053/0.5236, allocations: 365.8 kB / 0.6858 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009564/0.5245, allocations: 0.5691 MB / 0.6864 GB, free: 15.25 MB / 0.5294 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.008093/0.5326, allocations: 3.569 MB / 0.6899 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.5327, allocations: 4 kB / 0.6899 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002702/0.5354, allocations: 1.159 MB / 0.691 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5354, allocations: 8 kB / 0.691 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.5354, allocations: 8 kB / 0.691 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/0.5357, allocations: 85.66 kB / 0.6911 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.5368, allocations: 215.7 kB / 0.6913 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.538, allocations: 1.116 MB / 0.6924 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.5396, allocations: 119.4 kB / 0.6925 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.5398, allocations: 43.98 kB / 0.6925 GB, free: 8.719 MB / 0.5294 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: 16 ($PRE.leftHeart.pulses.TD2,$PRE.leftHeart.pulses.HP,$PRE.leftHeart.pulses.T0,$PRE.rightHeart.pulses.TD2,$PRE.rightHeart.pulses.HP,$PRE.rightHeart.pulses.T0,leftHeart.pulses.TD2,leftHeart.pulses.HP,leftHeart.pulses.b,leftHeart.pulses.T0,rightHeart.pulses.TD2,rightHeart.pulses.HP,rightHeart.pulses.b,rightHeart.pulses.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0008265/0.5406, allocations: 260.3 kB / 0.6928 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004628/0.5411, allocations: 103.3 kB / 0.6929 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.5437, allocations: 0.8847 MB / 0.6938 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.5437, allocations: 7.984 kB / 0.6938 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5437, allocations: 4 kB / 0.6938 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005807/0.5443, allocations: 264.1 kB / 0.694 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.5446, allocations: 15.98 kB / 0.694 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006711/0.5453, allocations: 35.97 kB / 0.6941 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.5454, allocations: 68.41 kB / 0.6941 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002573/0.548, allocations: 0.957 MB / 0.6951 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00267/0.5507, allocations: 1.427 MB / 0.6965 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007167/0.5514, allocations: 372.2 kB / 0.6968 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009/0.5523, allocations: 0.5615 MB / 0.6974 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of Backend: time 8.62e-07/0.5523, allocations: 0 / 0.6974 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005096/0.5575, allocations: 1.761 MB / 0.6991 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of SimCode: time 0.004467/0.5619, allocations: 2.657 MB / 0.7017 GB, free: 15.24 MB / 0.545 GB Notification: Performance of Templates: time 0.2791/0.841, allocations: 32.06 MB / 0.733 GB, free: 189.5 MB / 0.5606 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.PulsatileCirculation.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.PulsatileCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.PulsatileCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.PulsatileCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.PulsatileCirculation.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.PulsatileCirculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.PulsatileCirculation.pipe 2>&1)