Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.1001/0.1001, allocations: 11.16 MB / 30.26 MB, free: 6.539 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 84.58 kB / 37.85 MB, free: 7.953 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 160.6 kB / 45.52 MB, free: 276 kB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 177.2 MB / 230.2 MB, free: 8.375 MB / 206.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.149/0.149, allocations: 17.63 MB / 308.7 MB, free: 12.85 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 453.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.239e-05/4.517e-05, allocations: 2.281 kB / 453.6 MB, free: 3.145 MB / 350.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_4element): time 0.1064/0.1064, allocations: 75.4 MB / 0.5166 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3188/0.4252, allocations: 19.78 MB / 0.5359 GB, free: 27.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009118/0.4261, allocations: 22.25 kB / 0.5359 GB, free: 27.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008864/0.427, allocations: 270.2 kB / 0.5362 GB, free: 27.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008102/0.4351, allocations: 2.564 MB / 0.5387 GB, free: 27.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008546/0.4437, allocations: 2.172 MB / 0.5408 GB, free: 27.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002509/0.4462, allocations: 1.365 MB / 0.5421 GB, free: 26.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006576/0.4468, allocations: 367 kB / 0.5425 GB, free: 26.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/0.4504, allocations: 1.33 MB / 0.5438 GB, free: 26.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.4514, allocations: 0.4903 MB / 0.5443 GB, free: 26.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.28e-05/0.4515, allocations: 55.53 kB / 0.5443 GB, free: 26.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005378/0.4569, allocations: 1.62 MB / 0.5459 GB, free: 26.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.4571, allocations: 173.7 kB / 0.5461 GB, free: 26.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004391/0.4576, allocations: 252.1 kB / 0.5463 GB, free: 26.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006644/0.4642, allocations: 2.451 MB / 0.5487 GB, free: 26.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4642, allocations: 3.016 kB / 0.5487 GB, free: 26.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4642, allocations: 3.938 kB / 0.5487 GB, free: 26.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.4642, allocations: 0 / 0.5487 GB, free: 26.13 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002087/0.4663, allocations: 1.05 MB / 0.5497 GB, free: 25.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4664, allocations: 13.39 kB / 0.5498 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.4665, allocations: 60.53 kB / 0.5498 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/0.4671, allocations: 369.5 kB / 0.5502 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.4671, allocations: 39.52 kB / 0.5502 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.893e-05/0.4672, allocations: 44.12 kB / 0.5502 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009034/0.4681, allocations: 0.5605 MB / 0.5508 GB, free: 25.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.4681, allocations: 1.875 kB / 0.5508 GB, free: 25.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.4682, allocations: 16 kB / 0.5508 GB, free: 25.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.4682, allocations: 15.47 kB / 0.5508 GB, free: 25.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009385/0.4691, allocations: 0.5039 MB / 0.5513 GB, free: 25.19 MB / 430.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.002594/0.4717, allocations: 1.527 MB / 0.5528 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007265/0.4724, allocations: 393.5 kB / 0.5532 GB, free: 24.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/0.473, allocations: 248.5 kB / 0.5534 GB, free: 24.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/0.4744, allocations: 0.7211 MB / 0.5541 GB, free: 24.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004607/0.4748, allocations: 278.9 kB / 0.5544 GB, free: 24.18 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002058/0.475, allocations: 51.89 kB / 0.5544 GB, free: 24.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 3.196e-06/0.475, allocations: 1.641 kB / 0.5544 GB, free: 24.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.001556/0.4766, allocations: 0.6663 MB / 0.5551 GB, free: 24.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.4766, allocations: 63.89 kB / 0.5552 GB, free: 24.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.477, allocations: 365.6 kB / 0.5555 GB, free: 23.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.477, allocations: 36.98 kB / 0.5555 GB, free: 23.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.4771, allocations: 256 kB / 0.5558 GB, free: 23.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.631e-05/0.4772, allocations: 139.3 kB / 0.5559 GB, free: 23.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.4774, allocations: 107.2 kB / 0.556 GB, free: 23.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.4775, allocations: 348.9 kB / 0.5563 GB, free: 23.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.4778, allocations: 179.2 kB / 0.5565 GB, free: 23.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/0.4782, allocations: 270.6 kB / 0.5568 GB, free: 23.19 MB / 430.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.003966/0.4822, allocations: 1.263 MB / 0.558 GB, free: 23.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4822, allocations: 0 / 0.558 GB, free: 23.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001094/0.4833, allocations: 0.5922 MB / 0.5586 GB, free: 22.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.4833, allocations: 11.34 kB / 0.5586 GB, free: 22.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.4833, allocations: 2.5 kB / 0.5586 GB, free: 22.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.4835, allocations: 74.91 kB / 0.5587 GB, free: 22.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.484, allocations: 95.64 kB / 0.5588 GB, free: 22.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005261/0.4845, allocations: 1.129 MB / 0.5599 GB, free: 21.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.4849, allocations: 20.52 kB / 0.5599 GB, free: 21.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.4849, allocations: 21.05 kB / 0.5599 GB, free: 21.72 MB / 430.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 (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002559/0.4852, allocations: 179.1 kB / 0.5601 GB, free: 21.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.4853, allocations: 44.94 kB / 0.5601 GB, free: 21.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.4865, allocations: 0.5784 MB / 0.5607 GB, free: 21.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.4865, allocations: 7.922 kB / 0.5607 GB, free: 21.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4865, allocations: 0 / 0.5607 GB, free: 21.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.4865, allocations: 9.203 kB / 0.5607 GB, free: 21.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.4882, allocations: 0.9862 MB / 0.5617 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4882, allocations: 0 / 0.5617 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.4885, allocations: 65.3 kB / 0.5617 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001726/0.4887, allocations: 78.16 kB / 0.5618 GB, free: 20.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.4887, allocations: 10.98 kB / 0.5618 GB, free: 20.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004833/0.4892, allocations: 1.123 MB / 0.5629 GB, free: 19.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4892, allocations: 2.656 kB / 0.5629 GB, free: 19.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.4905, allocations: 0.8096 MB / 0.5637 GB, free: 19.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.4907, allocations: 82.53 kB / 0.5638 GB, free: 19.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.646e-05/0.4908, allocations: 10.94 kB / 0.5638 GB, free: 19.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.491, allocations: 23.98 kB / 0.5638 GB, free: 19.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4911, allocations: 36.09 kB / 0.5638 GB, free: 19.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.4912, allocations: 17.69 kB / 0.5639 GB, free: 19.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.4914, allocations: 257.1 kB / 0.5641 GB, free: 19.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4914, allocations: 0 / 0.5641 GB, free: 19.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00176/0.4932, allocations: 0.5896 MB / 0.5647 GB, free: 18.86 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (arteries.enthalpy,arteries.substanceMasses[1],inertia.q_in.m_flow) * 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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001897/0.4951, allocations: 0.9399 MB / 0.5656 GB, free: 18.63 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.4961, allocations: 443.8 kB / 0.566 GB, free: 18.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4961, allocations: 0 / 0.566 GB, free: 18.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.4965, allocations: 217.8 kB / 0.5662 GB, free: 18.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009935/0.4975, allocations: 196.6 kB / 0.5664 GB, free: 18.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.4992, allocations: 0.9892 MB / 0.5674 GB, free: 17.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.4994, allocations: 243.8 kB / 0.5676 GB, free: 17.83 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003043/0.4997, allocations: 104.8 kB / 0.5677 GB, free: 17.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.4998, allocations: 54.42 kB / 0.5678 GB, free: 17.81 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4998, allocations: 0 / 0.5678 GB, free: 17.81 MB / 430.1 MB Notification: Performance of Templates: time 0.02706/0.5269, allocations: 19.28 MB / 0.5866 GB, free: 6.336 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.335377249866724] Failed to read output from testmodel.py, exit status != 0: 0.5360119789838791 0.5476625700000001 0.080259208 Calling exit ...