Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.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.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG") translateModel(Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.08462/0.08462, allocations: 15.29 MB / 31.6 MB, free: 4.145 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.001043/0.001043, allocations: 96.42 kB / 36.59 MB, free: 3.172 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.001841/0.001841, allocations: 194.1 kB / 41.7 MB, free: 7.141 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.39/1.39, allocations: 222.9 MB / 269.6 MB, free: 6.895 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1355/0.1355, allocations: 23.35 MB / 347.2 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 112.3 kB / 479.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3072, allocations: 59.35 MB / 0.5263 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG): time 0.1073/0.4145, allocations: 107 MB / 0.6308 GB, free: 9.125 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0512/0.4657, allocations: 45.42 MB / 0.6751 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/0.4688, allocations: 47.75 kB / 0.6752 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.4712, allocations: 0.6519 MB / 0.6758 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.4826, allocations: 3.726 MB / 0.6794 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01162/0.4943, allocations: 4.486 MB / 0.6838 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004396/0.4987, allocations: 3.8 MB / 0.6875 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.5, allocations: 1.123 MB / 0.6886 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005749/0.5058, allocations: 3.06 MB / 0.6916 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.5077, allocations: 1.405 MB / 0.693 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.508, allocations: 140 kB / 0.6931 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009201/0.5172, allocations: 3.389 MB / 0.6964 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005677/0.5178, allocations: 0.518 MB / 0.6969 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.5188, allocations: 0.8322 MB / 0.6977 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.5296, allocations: 4.693 MB / 0.7023 GB, free: 15.53 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5297, allocations: 0 / 0.7023 GB, free: 15.53 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5297, allocations: 4 kB / 0.7023 GB, free: 15.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.5297, allocations: 0 / 0.7023 GB, free: 15.52 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004196/0.5339, allocations: 2.212 MB / 0.7045 GB, free: 13.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.5339, allocations: 11.97 kB / 0.7045 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003019/0.5342, allocations: 158.1 kB / 0.7047 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.5359, allocations: 0.993 MB / 0.7056 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.536, allocations: 78.03 kB / 0.7057 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.5361, allocations: 107.9 kB / 0.7058 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.5383, allocations: 1.413 MB / 0.7072 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.5384, allocations: 4 kB / 0.7072 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.5385, allocations: 44 kB / 0.7072 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.5385, allocations: 28 kB / 0.7073 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.5409, allocations: 1.417 MB / 0.7086 GB, free: 8.867 MB / 0.545 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.007087/0.548, allocations: 5.631 MB / 0.7141 GB, free: 2.906 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.55, allocations: 1.38 MB / 0.7155 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.5514, allocations: 0.7922 MB / 0.7163 GB, free: 0.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003766/0.5552, allocations: 2.966 MB / 0.7192 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.5552, allocations: 43.2 kB / 0.7192 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.555e-06/0.5552, allocations: 0 / 0.7192 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.003754/0.559, allocations: 2.161 MB / 0.7213 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.559, allocations: 64 kB / 0.7214 GB, free: 11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.5605, allocations: 1.197 MB / 0.7225 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/0.5606, allocations: 41.7 kB / 0.7226 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000448/0.561, allocations: 0.6198 MB / 0.7232 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.5613, allocations: 284 kB / 0.7235 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003487/0.5616, allocations: 214.7 kB / 0.7237 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5618, allocations: 353.9 kB / 0.724 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009813/0.5628, allocations: 0.553 MB / 0.7245 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.564, allocations: 0.8526 MB / 0.7254 GB, free: 6.727 MB / 0.5606 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pulmonaryVeinsAndLeftAtrium.mass = pulmonaryVeinsAndLeftAtrium.tm_start (pulmonaryVeinsAndLeftAtrium.m_start[1] + pulmonaryVeinsAndLeftAtrium.massOffset = pulmonaryVeinsAndLeftAtrium.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: 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: 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: veins.mass = veins.tm_start (veins.m_start[1] + veins.massOffset = veins.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: rightAtrium.mass = rightAtrium.tm_start (rightAtrium.m_start[1] + rightAtrium.massOffset = rightAtrium.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/0.5748, allocations: 5.895 MB / 0.7311 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.5748, allocations: 4 kB / 0.7311 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.2323/0.8071, allocations: 1.729 MB / 0.7328 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.8072, allocations: 9.188 kB / 0.7328 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.8072, allocations: 9 kB / 0.7328 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004212/0.8076, allocations: 194.6 kB / 0.733 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.8087, allocations: 252.6 kB / 0.7333 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.8098, allocations: 2.772 MB / 0.736 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.8109, allocations: 131.7 kB / 0.7361 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/0.811, allocations: 62.23 kB / 0.7362 GB, free: 185.7 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 5 initial equations are redundant, so they are removed from the initialization system: pulmonaryVeinsAndLeftAtrium.mass = pulmonaryVeinsAndLeftAtrium.tm_start pulmonaryArteries.mass = pulmonaryArteries.tm_start arteries.mass = arteries.tm_start veins.mass = veins.tm_start rightAtrium.mass = rightAtrium.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (135): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004713/0.8115, allocations: 351.7 kB / 0.7365 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.8117, allocations: 121.4 kB / 0.7366 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/0.8142, allocations: 1.393 MB / 0.738 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.8142, allocations: 7.094 kB / 0.738 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.8142, allocations: 2.047 kB / 0.738 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/0.8147, allocations: 307.7 kB / 0.7383 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.8149, allocations: 20.31 kB / 0.7383 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/0.8156, allocations: 36.83 kB / 0.7383 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.8157, allocations: 78.89 kB / 0.7384 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003309/0.8191, allocations: 1.444 MB / 0.7398 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00309/0.8222, allocations: 2.131 MB / 0.7419 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009373/0.8231, allocations: 0.5582 MB / 0.7424 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001159/0.8243, allocations: 0.8265 MB / 0.7432 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of Backend: time 6.41e-07/0.8243, allocations: 3.094 kB / 0.7432 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005488/0.8298, allocations: 2.344 MB / 0.7455 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.004753/0.8346, allocations: 3.514 MB / 0.749 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.04689/0.8815, allocations: 40.61 MB / 0.7886 GB, free: 149.1 MB / 0.5606 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.pipe 2>&1)