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.06116/0.06116, allocations: 11.15 MB / 20.98 MB, free: 4.668 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007583/0.06875, allocations: 4.806 MB / 25.78 MB, free: 64 kB / 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.0006421/0.0006421, allocations: 81.67 kB / 26.61 MB, free: 8.113 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009807/0.001623, allocations: 443.5 kB / 27.04 MB, free: 7.875 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.0006783/0.0006783, allocations: 150 kB / 27.93 MB, free: 7.277 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008406/0.001519, allocations: 486.4 kB / 28.41 MB, free: 6.922 MB / 33.03 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 0.8685/0.8685, allocations: 177.1 MB / 206.3 MB, free: 4.43 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.164/1.032, allocations: 53.65 MB / 259.9 MB, free: 1.027 MB / 250.7 MB " [Timeout remaining time 179] 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.1133/0.1133, allocations: 17.62 MB / 278.3 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01174/0.125, allocations: 6.515 MB / 284.8 MB, free: 8.215 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_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 1.112e-06/1.112e-06, allocations: 0 / 286.1 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.864e-05, allocations: 5.969 kB / 286.1 MB, free: 6.938 MB / 282.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_2element): time 0.03487/0.03489, allocations: 37.03 MB / 323.1 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005027/0.03992, allocations: 3.715 MB / 326.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004031/0.04032, allocations: 23.81 kB / 326.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.04078, allocations: 170.7 kB / 327 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005344/0.04612, allocations: 2.312 MB / 329.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.04893, allocations: 1.176 MB / 330.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001343/0.05028, allocations: 1.09 MB / 331.6 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.05064, allocations: 267 kB / 331.9 MB, free: 8.973 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.05285, allocations: 1.201 MB / 333.1 MB, free: 7.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.05332, allocations: 350.9 kB / 333.4 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.05338, allocations: 40 kB / 333.4 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003266/0.05664, allocations: 1.446 MB / 334.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.05677, allocations: 103.7 kB / 335 MB, free: 5.836 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.05695, allocations: 151.8 kB / 335.1 MB, free: 5.688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003133/0.06008, allocations: 1.774 MB / 336.9 MB, free: 3.906 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/0.0601, allocations: 0 / 336.9 MB, free: 3.906 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.0601, allocations: 4 kB / 336.9 MB, free: 3.902 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.06012, allocations: 0 / 336.9 MB, free: 3.902 MB / 330.7 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.001627/0.06174, allocations: 1.186 MB / 338.1 MB, free: 2.668 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.06178, allocations: 15.88 kB / 338.1 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.823e-05/0.06187, allocations: 63.89 kB / 338.2 MB, free: 2.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.06227, allocations: 291.8 kB / 338.5 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.0623, allocations: 24.66 kB / 338.5 MB, free: 2.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.06235, allocations: 35.95 kB / 338.5 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.06273, allocations: 336.7 kB / 338.9 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.06275, allocations: 3.938 kB / 338.9 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.06278, allocations: 19.98 kB / 338.9 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.06279, allocations: 12 kB / 338.9 MB, free: 1.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.063, allocations: 129.9 kB / 339 MB, free: 1.691 MB / 330.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.001382/0.06438, allocations: 1.071 MB / 340.1 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.06463, allocations: 214.9 kB / 340.3 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/0.06472, allocations: 60.83 kB / 340.4 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1515/0.2162, allocations: 0.495 MB / 340.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.2165, allocations: 150.8 kB / 341 MB, free: 11.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.324e-06/0.2165, allocations: 0.5469 kB / 341 MB, free: 11.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005523/0.217, allocations: 213.8 kB / 341.2 MB, free: 11.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.2171, allocations: 56.42 kB / 341.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.2173, allocations: 313 kB / 341.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.2173, allocations: 36.36 kB / 341.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.2174, allocations: 206.6 kB / 341.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.2175, allocations: 109.1 kB / 341.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2176, allocations: 83.88 kB / 342 MB, free: 11.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.104e-05/0.2177, allocations: 349.2 kB / 342.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.2178, allocations: 57.86 kB / 342.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.2179, allocations: 143.9 kB / 342.5 MB, free: 11.12 MB / 330.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.0006011/0.2185, allocations: 369.3 kB / 342.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.2185, allocations: 1.25 kB / 342.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004206/0.219, allocations: 263.6 kB / 343.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.219, allocations: 7.672 kB / 343.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.219, allocations: 2.797 kB / 343.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001195/0.2191, allocations: 29 kB / 343.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.2194, allocations: 92.3 kB / 343.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001906/0.2196, allocations: 0.5268 MB / 343.8 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.2198, allocations: 40.12 kB / 343.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.2198, allocations: 11.25 kB / 343.9 MB, free: 10.43 MB / 330.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 (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.0001102/0.2199, allocations: 139.5 kB / 344 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.22, allocations: 34.81 kB / 344 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.2204, allocations: 247.6 kB / 344.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.2204, allocations: 5.031 kB / 344.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.2204, allocations: 0 / 344.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2204, allocations: 3.031 kB / 344.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006249/0.221, allocations: 0.5026 MB / 344.8 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.221, allocations: 3.25 kB / 344.8 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.2212, allocations: 52.31 kB / 344.8 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.2213, allocations: 41.41 kB / 344.9 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.08e-05/0.2214, allocations: 23.39 kB / 344.9 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.2214, allocations: 4.969 kB / 344.9 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001547/0.2216, allocations: 0.5289 MB / 345.4 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2216, allocations: 4.094 kB / 345.4 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.2219, allocations: 378.2 kB / 345.8 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.222, allocations: 10.27 kB / 345.8 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.2221, allocations: 12.67 kB / 345.8 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.2222, allocations: 26.02 kB / 345.9 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.2222, allocations: 11.19 kB / 345.9 MB, free: 9.219 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.2224, allocations: 127.5 kB / 346 MB, free: 9.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2224, allocations: 0.6562 kB / 346 MB, free: 9.199 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001153/0.2235, allocations: 0.5001 MB / 346.5 MB, free: 9.195 MB / 330.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 (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.001247/0.2248, allocations: 0.8751 MB / 347.4 MB, free: 9.055 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003774/0.2251, allocations: 181.3 kB / 347.5 MB, free: 9.047 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/0.2252, allocations: 7.438 kB / 347.6 MB, free: 9.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.2253, allocations: 96.34 kB / 347.6 MB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.2259, allocations: 231.3 kB / 347.9 MB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.2368, allocations: 0.8071 MB / 348.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.827e-05/0.2369, allocations: 117.3 kB / 348.8 MB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000304/0.2372, allocations: 71.73 kB / 348.9 MB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.2375, allocations: 173.3 kB / 349 MB, free: 8.484 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2375, allocations: 0 / 349 MB, free: 8.484 MB / 330.7 MB Notification: Performance of Templates: time 0.02499/0.2625, allocations: 19.99 MB / 369 MB, free: 1.941 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2207937417551875]