Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.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.09635/0.09635, allocations: 15.56 MB / 34.4 MB, free: 4.52 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.001314/0.001314, allocations: 101.8 kB / 41.98 MB, free: 6.203 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.001709/0.001709, allocations: 223.9 kB / 49.68 MB, free: 10.05 MB / 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.551/1.551, allocations: 230.6 MB / 287.8 MB, free: 6.348 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.1589/0.1589, allocations: 23.74 MB / 372.4 MB, free: 2.934 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_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.00374/0.00374, allocations: 135.8 kB / 0.5052 GB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2927, allocations: 63.85 MB / 0.5675 GB, free: 14.62 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_3element): time 0.1268/0.4195, allocations: 69.69 MB / 0.6356 GB, free: 8.867 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0222/0.4417, allocations: 16.86 MB / 0.652 GB, free: 7.953 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006329/0.4423, allocations: 23.81 kB / 0.652 GB, free: 7.93 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007618/0.4431, allocations: 242.3 kB / 0.6523 GB, free: 7.691 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007619/0.4507, allocations: 2.364 MB / 0.6546 GB, free: 5.312 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004879/0.4556, allocations: 1.62 MB / 0.6562 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.4572, allocations: 1.192 MB / 0.6573 GB, free: 2.484 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004756/0.4577, allocations: 287.9 kB / 0.6576 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.4601, allocations: 1.085 MB / 0.6587 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007223/0.4608, allocations: 446.2 kB / 0.6591 GB, free: 0.668 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.479e-05/0.4609, allocations: 44 kB / 0.6591 GB, free: 0.625 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.4645, allocations: 1.489 MB / 0.6606 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.4647, allocations: 139.5 kB / 0.6607 GB, free: 15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002913/0.465, allocations: 243 kB / 0.661 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003349/0.4683, allocations: 2.109 MB / 0.663 GB, free: 12.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4683, allocations: 0 / 0.663 GB, free: 12.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4683, allocations: 4 kB / 0.663 GB, free: 12.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.4683, allocations: 0 / 0.663 GB, free: 12.64 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001822/0.4702, allocations: 0.9755 MB / 0.664 GB, free: 11.63 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.4702, allocations: 8.031 kB / 0.664 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.4703, allocations: 55.67 kB / 0.664 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.4709, allocations: 352.7 kB / 0.6644 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.471, allocations: 32.94 kB / 0.6644 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.4711, allocations: 36 kB / 0.6644 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008505/0.4719, allocations: 470.4 kB / 0.6649 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.4719, allocations: 7.938 kB / 0.6649 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.472, allocations: 12 kB / 0.6649 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.472, allocations: 15.94 kB / 0.6649 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007823/0.4728, allocations: 379.7 kB / 0.6653 GB, free: 10.23 MB / 494.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.002493/0.4753, allocations: 1.351 MB / 0.6666 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006791/0.4759, allocations: 338.9 kB / 0.6669 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.4763, allocations: 161.3 kB / 0.6671 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.4774, allocations: 0.6177 MB / 0.6677 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004326/0.4779, allocations: 238.2 kB / 0.6679 GB, free: 7.445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.4779, allocations: 0 / 0.6679 GB, free: 7.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001557/0.4794, allocations: 0.5661 MB / 0.6685 GB, free: 6.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.4795, allocations: 59.41 kB / 0.6685 GB, free: 6.797 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.4799, allocations: 361.5 kB / 0.6689 GB, free: 6.441 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.48, allocations: 33.7 kB / 0.6689 GB, free: 6.402 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.4802, allocations: 248.5 kB / 0.6691 GB, free: 6.156 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.4803, allocations: 123 kB / 0.6692 GB, free: 6.035 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.4804, allocations: 86.11 kB / 0.6693 GB, free: 5.945 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4806, allocations: 354.7 kB / 0.6697 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.4809, allocations: 144.8 kB / 0.6698 GB, free: 5.445 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/0.4814, allocations: 241.5 kB / 0.67 GB, free: 5.18 MB / 494.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.002276/0.4836, allocations: 0.8788 MB / 0.6709 GB, free: 4.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4836, allocations: 0 / 0.6709 GB, free: 4.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001123/0.4848, allocations: 0.5267 MB / 0.6714 GB, free: 3.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.4848, allocations: 4 kB / 0.6714 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4848, allocations: 8 kB / 0.6714 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/0.4851, allocations: 73.98 kB / 0.6715 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.4854, allocations: 83.89 kB / 0.6716 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008511/0.4863, allocations: 1.116 MB / 0.6727 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.4866, allocations: 43.66 kB / 0.6727 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.4866, allocations: 20 kB / 0.6727 GB, free: 2.328 MB / 494.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 (48): * 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: 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.0002223/0.4869, allocations: 173.8 kB / 0.6729 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.4869, allocations: 47.66 kB / 0.6729 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.488, allocations: 484.6 kB / 0.6734 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.488, allocations: 4 kB / 0.6734 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.488, allocations: 0 / 0.6734 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.488, allocations: 0 / 0.6734 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.4896, allocations: 0.8598 MB / 0.6742 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.4896, allocations: 7.938 kB / 0.6742 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.4899, allocations: 39.97 kB / 0.6743 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001898/0.49, allocations: 73.61 kB / 0.6744 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.4901, allocations: 12.02 kB / 0.6744 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008789/0.491, allocations: 1.12 MB / 0.6755 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.491, allocations: 0 / 0.6755 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.4922, allocations: 0.6865 MB / 0.6761 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.4924, allocations: 75.67 kB / 0.6762 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/0.4925, allocations: 8.219 kB / 0.6762 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.4928, allocations: 15.98 kB / 0.6762 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.4928, allocations: 27.95 kB / 0.6763 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.4929, allocations: 15.98 kB / 0.6763 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002983/0.4932, allocations: 251.2 kB / 0.6765 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4932, allocations: 0 / 0.6765 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001331/0.4945, allocations: 0.5294 MB / 0.677 GB, free: 13.75 MB / 0.4981 GB 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 (29): * 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: 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.001568/0.4961, allocations: 0.8558 MB / 0.6779 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000947/0.497, allocations: 359.9 kB / 0.6782 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.497, allocations: 3.938 kB / 0.6782 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.4974, allocations: 167.8 kB / 0.6784 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009298/0.4984, allocations: 180.5 kB / 0.6785 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.5001, allocations: 0.919 MB / 0.6794 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.5003, allocations: 216.2 kB / 0.6796 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000297/0.5006, allocations: 87.16 kB / 0.6797 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.5007, allocations: 43.42 kB / 0.6798 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.5007, allocations: 0 / 0.6798 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.02935/0.5301, allocations: 18.37 MB / 0.6977 GB, free: 8.629 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.788105487823486] Failed to read output from testmodel.py, exit status != 0: 0.5387219935655594 0.5531226800000001 0.081648734 Calling exit ...