Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09154/0.09154, allocations: 15.52 MB / 33.01 MB, free: 3.043 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 121.5 kB / 40.49 MB, free: 448 kB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 192.5 kB / 48.07 MB, free: 1.582 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 281.1 MB, free: 14.96 MB / 222.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1476/0.1476, allocations: 23.72 MB / 364.3 MB, free: 3.996 MB / 270.1 MB " [Timeout remaining time 180] 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.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003242/0.003242, allocations: 116.3 kB / 0.4944 GB, free: 24.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.104, allocations: 62.64 MB / 0.5555 GB, free: 9.512 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Windkessel_2element): time 0.3132/0.4172, allocations: 69.29 MB / 0.6232 GB, free: 8 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01522/0.4325, allocations: 15.61 MB / 0.6384 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.4331, allocations: 15.94 kB / 0.6385 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.4337, allocations: 211.9 kB / 0.6387 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005811/0.4396, allocations: 2.254 MB / 0.6409 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.4429, allocations: 1.139 MB / 0.642 GB, free: 9.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.4444, allocations: 1.082 MB / 0.643 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005206/0.4449, allocations: 254.5 kB / 0.6433 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.4475, allocations: 1.033 MB / 0.6443 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006479/0.4481, allocations: 443.5 kB / 0.6447 GB, free: 8.062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.527e-05/0.4482, allocations: 36 kB / 0.6447 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004945/0.4531, allocations: 1.632 MB / 0.6463 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.4533, allocations: 124.9 kB / 0.6464 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003952/0.4537, allocations: 251.2 kB / 0.6467 GB, free: 6.684 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00482/0.4585, allocations: 2.031 MB / 0.6487 GB, free: 5.188 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4585, allocations: 0 / 0.6487 GB, free: 5.188 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4585, allocations: 3.938 kB / 0.6487 GB, free: 5.184 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.4586, allocations: 0 / 0.6487 GB, free: 5.184 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001964/0.4605, allocations: 0.9983 MB / 0.6497 GB, free: 4.211 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4606, allocations: 8.031 kB / 0.6497 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.4607, allocations: 51.67 kB / 0.6497 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/0.4613, allocations: 390.8 kB / 0.6501 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.4613, allocations: 27.42 kB / 0.6501 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.751e-05/0.4614, allocations: 32 kB / 0.6501 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008286/0.4622, allocations: 402 kB / 0.6505 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.4622, allocations: 0 / 0.6505 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.4623, allocations: 16 kB / 0.6505 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.4623, allocations: 9.688 kB / 0.6505 GB, free: 3.363 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000694/0.463, allocations: 334.2 kB / 0.6509 GB, free: 3.086 MB / 446.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.002822/0.4658, allocations: 2.033 MB / 0.6528 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.4664, allocations: 299.1 kB / 0.6531 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.4667, allocations: 145 kB / 0.6533 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.468, allocations: 0.9663 MB / 0.6542 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003847/0.4684, allocations: 185.2 kB / 0.6544 GB, free: 15.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.4684, allocations: 0 / 0.6544 GB, free: 15.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.001255/0.4697, allocations: 0.5316 MB / 0.6549 GB, free: 14.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.4697, allocations: 55.66 kB / 0.655 GB, free: 14.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.4702, allocations: 389.5 kB / 0.6553 GB, free: 14.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.4702, allocations: 33.7 kB / 0.6554 GB, free: 14.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.4704, allocations: 224.4 kB / 0.6556 GB, free: 14.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.4705, allocations: 113.6 kB / 0.6557 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.4706, allocations: 78.06 kB / 0.6558 GB, free: 13.95 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.4708, allocations: 350.8 kB / 0.6561 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.4711, allocations: 132.8 kB / 0.6562 GB, free: 13.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.4715, allocations: 229.7 kB / 0.6564 GB, free: 13.21 MB / 462.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: arteries.mass = arteries.tm_start (arteries.m_start[1] + arteries.massOffset = arteries.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.4737, allocations: 0.8793 MB / 0.6573 GB, free: 12.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4737, allocations: 0 / 0.6573 GB, free: 12.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009671/0.4746, allocations: 471.3 kB / 0.6578 GB, free: 11.81 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4746, allocations: 4 kB / 0.6578 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.4747, allocations: 4 kB / 0.6578 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.4748, allocations: 36.78 kB / 0.6578 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.4752, allocations: 79.83 kB / 0.6579 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004458/0.4756, allocations: 0.5486 MB / 0.6584 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.4759, allocations: 47.66 kB / 0.6585 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.476, allocations: 16 kB / 0.6585 GB, free: 11.05 MB / 462.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: arteries.mass = arteries.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.pulses.TD2,$PRE.pulses.HP,$PRE.pulses.T0,pulses.TD2,pulses.HP,pulses.b,pulses.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002163/0.4762, allocations: 165.6 kB / 0.6586 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.4763, allocations: 47.7 kB / 0.6587 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009134/0.4772, allocations: 429.2 kB / 0.6591 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.4772, allocations: 4 kB / 0.6591 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4772, allocations: 0 / 0.6591 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4772, allocations: 3.984 kB / 0.6591 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.4786, allocations: 0.8698 MB / 0.6599 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4786, allocations: 0 / 0.6599 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.4788, allocations: 47.91 kB / 0.66 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.831e-05/0.4789, allocations: 32.78 kB / 0.66 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.479, allocations: 11.98 kB / 0.66 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004427/0.4794, allocations: 0.5407 MB / 0.6606 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4794, allocations: 4 kB / 0.6606 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4805, allocations: 0.5992 MB / 0.6611 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.4807, allocations: 140.8 kB / 0.6613 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.615e-05/0.4807, allocations: 11.98 kB / 0.6613 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.481, allocations: 15.92 kB / 0.6613 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.4811, allocations: 23.97 kB / 0.6613 GB, free: 7.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.4811, allocations: 15.94 kB / 0.6613 GB, free: 7.949 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003195/0.4814, allocations: 271.2 kB / 0.6616 GB, free: 7.688 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4814, allocations: 4.062 kB / 0.6616 GB, free: 7.684 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001322/0.4827, allocations: 498.3 kB / 0.6621 GB, free: 7.195 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (arteries.enthalpy,arteries.substanceMasses[1]) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001464/0.4842, allocations: 0.7878 MB / 0.6629 GB, free: 6.477 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008253/0.485, allocations: 323.9 kB / 0.6632 GB, free: 6.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.485, allocations: 0 / 0.6632 GB, free: 6.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.4854, allocations: 146.4 kB / 0.6633 GB, free: 6.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009592/0.4863, allocations: 197.4 kB / 0.6635 GB, free: 5.832 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.4879, allocations: 0.8674 MB / 0.6643 GB, free: 4.938 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.4884, allocations: 0.8074 MB / 0.6651 GB, free: 4.102 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002893/0.4887, allocations: 87.23 kB / 0.6652 GB, free: 4.016 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.4888, allocations: 43.42 kB / 0.6652 GB, free: 3.973 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4888, allocations: 3.938 kB / 0.6653 GB, free: 3.969 MB / 462.1 MB Notification: Performance of Templates: time 0.02805/0.5169, allocations: 16.81 MB / 0.6817 GB, free: 3.234 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5974001521244645]