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.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.1141/0.1141, 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.001807/0.001807, allocations: 101.8 kB / 41.98 MB, free: 6.199 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.002341/0.002341, allocations: 217.1 kB / 49.68 MB, free: 10.04 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.563/1.563, allocations: 230.6 MB / 287.8 MB, free: 6.297 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.1559/0.1559, allocations: 23.74 MB / 372.4 MB, free: 2.953 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_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: 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.006039/0.006039, allocations: 124.6 kB / 0.5051 GB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2998, allocations: 63.85 MB / 0.5675 GB, free: 14.44 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.1254/0.4252, allocations: 64.14 MB / 0.6301 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01949/0.4447, allocations: 13.87 MB / 0.6437 GB, free: 360 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006146/0.4453, allocations: 23.81 kB / 0.6437 GB, free: 336 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008083/0.4461, allocations: 210.5 kB / 0.6439 GB, free: 124 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006535/0.4527, allocations: 2.244 MB / 0.6461 GB, free: 13.86 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003261/0.4559, allocations: 1.15 MB / 0.6472 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.4574, allocations: 1.082 MB / 0.6483 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004989/0.4579, allocations: 254.8 kB / 0.6485 GB, free: 11.37 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/0.4605, allocations: 1.042 MB / 0.6495 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008235/0.4613, allocations: 406.3 kB / 0.6499 GB, free: 9.922 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.4614, allocations: 40 kB / 0.65 GB, free: 9.883 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/0.4649, allocations: 1.384 MB / 0.6513 GB, free: 8.496 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.4651, allocations: 127.5 kB / 0.6514 GB, free: 8.371 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.4655, allocations: 215.2 kB / 0.6516 GB, free: 8.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004406/0.4699, allocations: 1.954 MB / 0.6535 GB, free: 6.199 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4699, allocations: 4 kB / 0.6535 GB, free: 6.195 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4699, allocations: 0 / 0.6535 GB, free: 6.195 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.4699, allocations: 0 / 0.6535 GB, free: 6.195 MB / 478.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.001946/0.4718, allocations: 0.9208 MB / 0.6544 GB, free: 5.238 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.4719, allocations: 12.03 kB / 0.6545 GB, free: 5.227 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.472, allocations: 51.66 kB / 0.6545 GB, free: 5.176 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.4726, allocations: 324.9 kB / 0.6548 GB, free: 4.828 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.4727, allocations: 36.64 kB / 0.6549 GB, free: 4.793 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.4727, allocations: 35.95 kB / 0.6549 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007832/0.4735, allocations: 429.2 kB / 0.6553 GB, free: 4.309 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.4735, allocations: 0 / 0.6553 GB, free: 4.309 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.4736, allocations: 12 kB / 0.6553 GB, free: 4.297 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.4736, allocations: 12 kB / 0.6553 GB, free: 4.285 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007204/0.4743, allocations: 334.3 kB / 0.6556 GB, free: 3.961 MB / 478.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.002417/0.4767, allocations: 1.27 MB / 0.6569 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/0.4773, allocations: 310.4 kB / 0.6572 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.4777, allocations: 144.7 kB / 0.6573 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.4788, allocations: 0.5702 MB / 0.6579 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004179/0.4792, allocations: 217.5 kB / 0.6581 GB, free: 1.367 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.4792, allocations: 0 / 0.6581 GB, free: 1.367 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001238/0.4804, allocations: 474.5 kB / 0.6585 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.4805, allocations: 59.66 kB / 0.6586 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004167/0.4809, allocations: 344.4 kB / 0.6589 GB, free: 488 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.4809, allocations: 33.7 kB / 0.6589 GB, free: 448 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.4811, allocations: 236.3 kB / 0.6592 GB, free: 208 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.4812, allocations: 111 kB / 0.6593 GB, free: 96 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.4814, allocations: 82.08 kB / 0.6594 GB, free: 8 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.4815, allocations: 342.8 kB / 0.6597 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.4819, allocations: 140.8 kB / 0.6598 GB, free: 15.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.4822, allocations: 221.7 kB / 0.66 GB, free: 15.28 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.00218/0.4844, allocations: 0.8166 MB / 0.6608 GB, free: 14.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4844, allocations: 0 / 0.6608 GB, free: 14.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009797/0.4854, allocations: 473.8 kB / 0.6613 GB, free: 13.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4854, allocations: 4 kB / 0.6613 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.4854, allocations: 8 kB / 0.6613 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.4856, allocations: 32.78 kB / 0.6613 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.4859, allocations: 88.14 kB / 0.6614 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004603/0.4864, allocations: 0.5446 MB / 0.6619 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.4867, allocations: 39.72 kB / 0.662 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.4867, allocations: 20 kB / 0.662 GB, free: 13.2 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 (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.0002149/0.487, allocations: 165.6 kB / 0.6622 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.487, allocations: 39.75 kB / 0.6622 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009357/0.488, allocations: 424.8 kB / 0.6626 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.488, allocations: 4 kB / 0.6626 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.488, allocations: 7.875 kB / 0.6626 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.488, allocations: 3.984 kB / 0.6626 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.4895, allocations: 0.7504 MB / 0.6633 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.4895, allocations: 7.938 kB / 0.6634 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.4898, allocations: 47.91 kB / 0.6634 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.074e-05/0.4899, allocations: 32.83 kB / 0.6634 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.4899, allocations: 4 kB / 0.6634 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004161/0.4903, allocations: 0.5445 MB / 0.664 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4903, allocations: 3.984 kB / 0.664 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.4914, allocations: 0.5954 MB / 0.6645 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.4916, allocations: 63.72 kB / 0.6646 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.4917, allocations: 11.95 kB / 0.6646 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.4919, allocations: 11.98 kB / 0.6646 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.492, allocations: 31.89 kB / 0.6647 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.492, allocations: 8 kB / 0.6647 GB, free: 10.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002965/0.4923, allocations: 251.2 kB / 0.6649 GB, free: 10.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4923, allocations: 4 kB / 0.6649 GB, free: 10.08 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001213/0.4935, allocations: 0.4904 MB / 0.6654 GB, free: 9.59 MB / 494.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.001625/0.4952, allocations: 0.7899 MB / 0.6662 GB, free: 8.785 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008087/0.496, allocations: 319.6 kB / 0.6665 GB, free: 8.473 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.496, allocations: 0 / 0.6665 GB, free: 8.473 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.4963, allocations: 143.8 kB / 0.6666 GB, free: 8.332 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008816/0.4972, allocations: 176.3 kB / 0.6668 GB, free: 8.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.4989, allocations: 0.8602 MB / 0.6676 GB, free: 7.277 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.4992, allocations: 215.7 kB / 0.6678 GB, free: 7.051 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002985/0.4995, allocations: 79.09 kB / 0.6679 GB, free: 6.969 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.4996, allocations: 47.42 kB / 0.6679 GB, free: 6.922 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4996, allocations: 0 / 0.6679 GB, free: 6.922 MB / 494.1 MB Notification: Performance of Templates: time 0.03032/0.5299, allocations: 16.99 MB / 0.6845 GB, free: 6.051 MB / 0.4981 GB " [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.998717805370688] Failed to read output from testmodel.py, exit status != 0: 0.5411927029490471 0.556440754 0.083193441 Calling exit ...