Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.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.Fernandez2013.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation") translateModel(Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1147/0.1147, allocations: 15.29 MB / 31.59 MB, free: 3.988 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.001111/0.001111, allocations: 95.78 kB / 36.59 MB, free: 3.25 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.001447/0.001447, allocations: 190.5 kB / 41.69 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.429/1.429, allocations: 222.9 MB / 269.6 MB, free: 6.863 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1321/0.1321, allocations: 23.34 MB / 347.2 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 108.3 kB / 479.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2938, allocations: 59.35 MB / 0.5265 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation): time 0.1653/0.4591, allocations: 180.4 MB / 0.7026 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3617/0.8209, allocations: 82.44 MB / 0.7831 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003231/0.8242, allocations: 75.16 kB / 0.7832 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.8264, allocations: 0.9647 MB / 0.7842 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01478/0.8412, allocations: 6.27 MB / 0.7903 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01985/0.8611, allocations: 8.166 MB / 0.7983 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006972/0.8681, allocations: 6.264 MB / 0.8044 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/0.8704, allocations: 1.774 MB / 0.8061 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/0.8809, allocations: 5.043 MB / 0.811 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004547/0.8854, allocations: 2.261 MB / 0.8132 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005427/0.886, allocations: 226.9 kB / 0.8134 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01394/0.9, allocations: 5.228 MB / 0.8186 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.9011, allocations: 0.6788 MB / 0.8192 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002525/0.9037, allocations: 1.386 MB / 0.8206 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02009/0.9238, allocations: 7.422 MB / 0.8278 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.9238, allocations: 3.5 kB / 0.8278 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9238, allocations: 0 / 0.8278 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.833e-05/0.9238, allocations: 0 / 0.8278 GB, free: 10.43 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 447 * Number of variables: 447 Notification: Performance of Generate backend data structure: time 0.00642/0.9303, allocations: 3.4 MB / 0.8311 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.9303, allocations: 8.031 kB / 0.8312 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004901/0.9308, allocations: 257 kB / 0.8314 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.9329, allocations: 1.321 MB / 0.8327 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.9331, allocations: 215 kB / 0.8329 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/0.9334, allocations: 191.2 kB / 0.8331 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.9366, allocations: 2.143 MB / 0.8352 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/0.9367, allocations: 4 kB / 0.8352 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.9369, allocations: 72.38 kB / 0.8352 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/0.9369, allocations: 51.98 kB / 0.8353 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003416/0.9403, allocations: 1.905 MB / 0.8371 GB, free: 3.086 MB / 0.5762 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.01036/0.9507, allocations: 8.683 MB / 0.8456 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.9536, allocations: 1.788 MB / 0.8474 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.9553, allocations: 1.01 MB / 0.8484 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005993/0.9613, allocations: 4.552 MB / 0.8528 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001678/0.963, allocations: 0.9283 MB / 0.8537 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=172): time 3.707e-06/0.963, allocations: 0 / 0.8537 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of matching and sorting (n=177): time 0.0138/0.9768, allocations: 6.301 MB / 0.8599 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.9769, allocations: 77.39 kB / 0.8599 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.9787, allocations: 1.469 MB / 0.8614 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.9788, allocations: 69.69 kB / 0.8614 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006375/0.9795, allocations: 0.8783 MB / 0.8623 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/0.98, allocations: 0.6085 MB / 0.8629 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006303/0.9806, allocations: 424.1 kB / 0.8633 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.9807, allocations: 305.1 kB / 0.8636 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.9826, allocations: 0.8361 MB / 0.8644 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.9848, allocations: 1.344 MB / 0.8657 GB, free: 5.793 MB / 0.6075 GB 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: leftVentricle.mass = leftVentricle.tm_start (leftVentricle.m_start[1] + leftVentricle.massOffset = leftVentricle.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: aorta.mass = aorta.tm_start (aorta.m_start[1] + aorta.massOffset = aorta.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: arteries.mass = arteries.tm_start (arteries.m_start[1] + arteries.massOffset = arteries.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: rightVentricle.mass = rightVentricle.tm_start (rightVentricle.m_start[1] + rightVentricle.massOffset = rightVentricle.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: pulmonaryArtery.mass = pulmonaryArtery.tm_start (pulmonaryArtery.m_start[1] + pulmonaryArtery.massOffset = pulmonaryArtery.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: pulmonaryArterioles.mass = pulmonaryArterioles.tm_start (pulmonaryArterioles.m_start[1] + pulmonaryArterioles.massOffset = pulmonaryArterioles.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: veins.mass = veins.tm_start (veins.m_start[1] + veins.massOffset = veins.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02447/1.009, allocations: 11.72 MB / 0.8772 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/1.009, allocations: 8 kB / 0.8772 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005725/1.015, allocations: 2.846 MB / 0.8799 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/1.015, allocations: 12 kB / 0.88 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/1.015, allocations: 12 kB / 0.88 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/1.016, allocations: 0.5251 MB / 0.8805 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/1.018, allocations: 467.3 kB / 0.8809 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004936/1.023, allocations: 7.785 MB / 0.8885 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/1.025, allocations: 107.9 kB / 0.8886 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/1.025, allocations: 105.1 kB / 0.8887 GB, free: 13.38 MB / 0.6387 GB Warning: Assuming fixed start value for the following 4 variables: sphygmomanometer.pressureInt:VARIABLE(fixed = true protected = true ) type: Real sphygmomanometer.t0:DISCRETE(unit = "s" fixed = true nominal = 60.0 protected = true ) type: Real sphygmomanometer.systolicRunning:VARIABLE(unit = "Pa" fixed = true nominal = 1e5 protected = true ) type: Real sphygmomanometer.diastolicRunning:VARIABLE(unit = "Pa" fixed = true nominal = 1e5 protected = true ) type: Real Warning: The initial conditions are over specified. The following 8 initial equations are redundant, so they are removed from the initialization system: pulmonaryVeins.mass = pulmonaryVeins.tm_start leftVentricle.mass = leftVentricle.tm_start aorta.mass = aorta.tm_start arteries.mass = arteries.tm_start rightVentricle.mass = rightVentricle.tm_start pulmonaryArtery.mass = pulmonaryArtery.tm_start pulmonaryArterioles.mass = pulmonaryArterioles.tm_start veins.mass = veins.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 25 (sphygmomanometer.meanMeasured,sphygmomanometer.t0,$PRE.sphygmomanometer.t0,sphygmomanometer.b,$whenCondition1,$PRE.timeVaryingElastanceRight.ts,$PRE.timeVaryingElastanceRight.t0,$PRE.timeVaryingElastanceRight.HP,$PRE.timeVaryingElastanceLeft.ts,$PRE.timeVaryingElastanceLeft.t0,$PRE.timeVaryingElastanceLeft.HP,sphygmomanometer.diastolicMeassured,sphygmomanometer.systolicMeassured,timeVaryingElastanceRight.ts,timeVaryingElastanceRight.t0,timeVaryingElastanceRight.HP,timeVaryingElastanceLeft.ts,timeVaryingElastanceLeft.t0,timeVaryingElastanceLeft.HP,pulmonaryValve.open,tricuspidValve.open,aorticValve.open,mitralValve.open,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * 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): 10 systems {(1,3), (1,3), (1,1), (1,1), (2,8), (1,3), (1,3), (1,1), (1,1), (2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008438/1.026, allocations: 469 kB / 0.8892 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003482/1.027, allocations: 201.5 kB / 0.8894 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/1.031, allocations: 2.304 MB / 0.8916 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/1.031, allocations: 15.89 kB / 0.8916 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/1.031, allocations: 0 / 0.8916 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009034/1.032, allocations: 454.4 kB / 0.8921 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/1.032, allocations: 39.98 kB / 0.8921 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.034, allocations: 95.91 kB / 0.8922 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/1.034, allocations: 145.7 kB / 0.8923 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006516/1.041, allocations: 2.514 MB / 0.8948 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00566/1.046, allocations: 3.185 MB / 0.8979 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001562/1.048, allocations: 0.8588 MB / 0.8987 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001319/1.049, allocations: 0.9755 MB / 0.8997 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of Backend: time 5.11e-07/1.049, allocations: 0 / 0.8997 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009611/1.059, allocations: 4.074 MB / 0.9037 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of SimCode: time 0.007497/1.066, allocations: 5.432 MB / 0.909 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of Templates: time 0.09487/1.161, allocations: 67.79 MB / 0.9752 GB, free: 5.277 MB / 0.7169 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Fernandez2013.PulsatileCirculation.pipe 2>&1)