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.1049/0.1049, allocations: 11.15 MB / 30.51 MB, free: 4.938 MB / 24.77 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.00187/0.00187, allocations: 99.41 kB / 38.14 MB, free: 7.199 MB / 33.03 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.002081/0.002081, allocations: 156.5 kB / 45.85 MB, free: 10.59 MB / 44.04 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.53/1.53, allocations: 177.1 MB / 230.6 MB, free: 4.785 MB / 202.7 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.1532/0.1532, allocations: 17.63 MB / 309.1 MB, free: 8.656 MB / 282.7 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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 390.4 MB, free: 46.55 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.932e-05, allocations: 8 kB / 390.4 MB, free: 46.54 MB / 330.7 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.08318/0.0832, allocations: 76.69 MB / 467.1 MB, free: 1.984 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02891/0.1121, allocations: 19.11 MB / 486.2 MB, free: 14.81 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008682/0.113, allocations: 19.88 kB / 486.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000892/0.1139, allocations: 242.2 kB / 486.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008291/0.1222, allocations: 2.444 MB / 488.9 MB, free: 12.09 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005609/0.1278, allocations: 1.701 MB / 490.6 MB, free: 10.38 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002289/0.1301, allocations: 1.199 MB / 491.8 MB, free: 9.18 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007422/0.1308, allocations: 304 kB / 492.1 MB, free: 8.879 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003184/0.134, allocations: 1.225 MB / 493.3 MB, free: 7.648 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000914/0.1349, allocations: 414.8 kB / 493.8 MB, free: 7.242 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.862e-05/0.135, allocations: 44 kB / 493.8 MB, free: 7.199 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00472/0.1397, allocations: 1.508 MB / 495.3 MB, free: 5.688 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.1399, allocations: 143.5 kB / 495.4 MB, free: 5.547 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.1403, allocations: 215.5 kB / 495.7 MB, free: 5.336 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006048/0.1464, allocations: 2.23 MB / 497.9 MB, free: 3.098 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1464, allocations: 0 / 497.9 MB, free: 3.098 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1464, allocations: 0 / 497.9 MB, free: 3.098 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.1464, allocations: 4 kB / 497.9 MB, free: 3.094 MB / 394.7 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.002947/0.1493, allocations: 1.095 MB / 499 MB, free: 1.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.1494, allocations: 8.031 kB / 499 MB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.1496, allocations: 83.67 kB / 499.1 MB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00074/0.1503, allocations: 347.6 kB / 499.4 MB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.1504, allocations: 33 kB / 499.4 MB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.1505, allocations: 44 kB / 499.5 MB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000897/0.1514, allocations: 476.4 kB / 500 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1514, allocations: 0 / 500 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.1514, allocations: 16 kB / 500 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.1514, allocations: 8 kB / 500 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007919/0.1522, allocations: 339.7 kB / 0.4886 GB, free: 0.5703 MB / 394.7 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.003017/0.1552, allocations: 1.645 MB / 0.4902 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/0.1559, allocations: 303.5 kB / 0.4905 GB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.1563, allocations: 159.8 kB / 0.4906 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/0.1576, allocations: 0.6801 MB / 0.4913 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004493/0.158, allocations: 224.6 kB / 0.4915 GB, free: 13.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.873e-06/0.158, allocations: 0 / 0.4915 GB, free: 13.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001538/0.1596, allocations: 0.5128 MB / 0.492 GB, free: 12.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.1596, allocations: 67.33 kB / 0.4921 GB, free: 12.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.1602, allocations: 446.6 kB / 0.4925 GB, free: 12.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.1602, allocations: 33.7 kB / 0.4925 GB, free: 12.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.1605, allocations: 307.2 kB / 0.4928 GB, free: 12.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.1607, allocations: 135 kB / 0.493 GB, free: 11.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.1608, allocations: 99.78 kB / 0.493 GB, free: 11.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003486/0.1612, allocations: 0.5391 MB / 0.4936 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.1615, allocations: 116.9 kB / 0.4937 GB, free: 11.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.1619, allocations: 256.8 kB / 0.4939 GB, free: 10.86 MB / 410.7 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.002489/0.1644, allocations: 0.8006 MB / 0.4947 GB, free: 10.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.1644, allocations: 4 kB / 0.4947 GB, free: 10 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001146/0.1655, allocations: 0.4896 MB / 0.4952 GB, free: 9.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1656, allocations: 12.03 kB / 0.4952 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1656, allocations: 0 / 0.4952 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.1659, allocations: 83.27 kB / 0.4953 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.1663, allocations: 79.89 kB / 0.4954 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.1676, allocations: 1.666 MB / 0.497 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.168, allocations: 39.83 kB / 0.497 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.168, allocations: 23.98 kB / 0.497 GB, free: 7.527 MB / 410.7 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.0002894/0.1683, allocations: 200.5 kB / 0.4972 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.1684, allocations: 51.75 kB / 0.4973 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.1695, allocations: 485 kB / 0.4978 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.1695, allocations: 8 kB / 0.4978 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1696, allocations: 0 / 0.4978 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.1696, allocations: 0 / 0.4978 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.1713, allocations: 0.9151 MB / 0.4987 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1713, allocations: 0 / 0.4987 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.1716, allocations: 43.91 kB / 0.4987 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/0.1718, allocations: 83.36 kB / 0.4988 GB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.1718, allocations: 7.938 kB / 0.4988 GB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.1731, allocations: 1.655 MB / 0.5004 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1731, allocations: 0 / 0.5004 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.1744, allocations: 0.7038 MB / 0.5011 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004451/0.1749, allocations: 75.64 kB / 0.5012 GB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.588e-05/0.1749, allocations: 8 kB / 0.5012 GB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.1752, allocations: 11.98 kB / 0.5012 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.1753, allocations: 31.95 kB / 0.5012 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.1753, allocations: 15.92 kB / 0.5012 GB, free: 3.062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003759/0.1757, allocations: 303 kB / 0.5015 GB, free: 2.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1757, allocations: 0 / 0.5015 GB, free: 2.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001448/0.1772, allocations: 0.5333 MB / 0.502 GB, free: 2.234 MB / 410.7 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 (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.00174/0.1789, allocations: 0.8601 MB / 0.5029 GB, free: 1.363 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009854/0.1799, allocations: 356.4 kB / 0.5032 GB, free: 1.012 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1799, allocations: 0 / 0.5032 GB, free: 1.012 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.1803, allocations: 187.8 kB / 0.5034 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.1814, allocations: 190.6 kB / 0.5036 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.1832, allocations: 0.8331 MB / 0.5044 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1834, allocations: 220.3 kB / 0.5046 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.1837, allocations: 79.17 kB / 0.5047 GB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.1839, allocations: 40.48 kB / 0.5047 GB, free: 15.42 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1839, allocations: 0 / 0.5047 GB, free: 15.42 MB / 426.7 MB Notification: Performance of Templates: time 0.1783/0.3622, allocations: 17.81 MB / 0.5221 GB, free: 141 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.912755828001536]