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.07993/0.07993, allocations: 11.16 MB / 21.06 MB, free: 4.621 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01855/0.09848, allocations: 4.819 MB / 25.88 MB, free: 20 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.0005824/0.0005824, allocations: 64.02 kB / 26.7 MB, free: 7.781 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001614, allocations: 458.2 kB / 27.15 MB, free: 7.531 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.0006808/0.0006808, allocations: 162.1 kB / 28.06 MB, free: 6.84 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008754/0.001556, allocations: 467.4 kB / 28.52 MB, free: 6.477 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.967/0.967, allocations: 177.2 MB / 206.5 MB, free: 4.34 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1821/1.149, allocations: 53.64 MB / 260.1 MB, free: 0.9336 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.08769/0.08769, allocations: 17.64 MB / 278.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01224/0.09993, allocations: 6.525 MB / 285 MB, free: 8.078 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.263e-06/1.263e-06, allocations: 0 / 286.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003e-05/1.129e-05, allocations: 2.312 kB / 286.3 MB, free: 6.773 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.03386/0.03387, allocations: 37.04 MB / 323.4 MB, free: 1.594 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003959/0.03783, allocations: 3.722 MB / 327.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003447/0.03817, allocations: 19.88 kB / 327.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.03853, allocations: 170.7 kB / 327.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004963/0.0435, allocations: 2.312 MB / 329.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.046, allocations: 1.173 MB / 330.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.04746, allocations: 1.097 MB / 331.9 MB, free: 9.059 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.04782, allocations: 263 kB / 332.1 MB, free: 8.797 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.04986, allocations: 1.189 MB / 333.3 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005271/0.05039, allocations: 358.9 kB / 333.7 MB, free: 7.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.05043, allocations: 40 kB / 333.7 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.05301, allocations: 1.45 MB / 335.1 MB, free: 5.758 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.05314, allocations: 111.6 kB / 335.3 MB, free: 5.648 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.05328, allocations: 151.8 kB / 335.4 MB, free: 5.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.05562, allocations: 1.763 MB / 337.2 MB, free: 3.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.05564, allocations: 7.938 kB / 337.2 MB, free: 3.723 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.05564, allocations: 0 / 337.2 MB, free: 3.723 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.05565, allocations: 4 kB / 337.2 MB, free: 3.719 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.00154/0.05719, allocations: 1.19 MB / 338.4 MB, free: 2.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.05722, allocations: 11.89 kB / 338.4 MB, free: 2.469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.0573, allocations: 55.95 kB / 338.4 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006221/0.05792, allocations: 291.8 kB / 338.7 MB, free: 2.098 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.05795, allocations: 28.59 kB / 338.7 MB, free: 2.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.058, allocations: 35.95 kB / 338.8 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.05835, allocations: 340.6 kB / 339.1 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.05836, allocations: 4 kB / 339.1 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.05838, allocations: 16 kB / 339.1 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.05839, allocations: 8 kB / 339.1 MB, free: 1.645 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.05857, allocations: 125.9 kB / 339.3 MB, free: 1.52 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.001223/0.05979, allocations: 1.071 MB / 340.3 MB, free: 416 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.06003, allocations: 226.8 kB / 340.6 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.978e-05/0.0601, allocations: 60.81 kB / 340.6 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1453/0.2054, allocations: 0.4968 MB / 341.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.2056, allocations: 144.2 kB / 341.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.2056, allocations: 0.75 kB / 341.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005267/0.2061, allocations: 211.1 kB / 341.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.2061, allocations: 60.66 kB / 341.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.2064, allocations: 312.6 kB / 341.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2064, allocations: 32.14 kB / 341.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.2065, allocations: 202.6 kB / 342.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.366e-05/0.2066, allocations: 110.9 kB / 342.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.2067, allocations: 81.7 kB / 342.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.2067, allocations: 348.4 kB / 342.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.2069, allocations: 56.25 kB / 342.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.207, allocations: 145.5 kB / 342.8 MB, free: 10.94 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.0006069/0.2076, allocations: 378.2 kB / 343.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2076, allocations: 1.25 kB / 343.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004319/0.208, allocations: 258 kB / 343.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2081, allocations: 11.05 kB / 343.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2081, allocations: 2.281 kB / 343.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/0.2082, allocations: 23.41 kB / 343.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.2085, allocations: 98.89 kB / 343.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002094/0.2087, allocations: 0.5301 MB / 344.1 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.2089, allocations: 37.44 kB / 344.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.2089, allocations: 19.61 kB / 344.1 MB, free: 10.25 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.0001096/0.209, allocations: 139.5 kB / 344.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.2091, allocations: 30.44 kB / 344.3 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.2095, allocations: 251 kB / 344.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2095, allocations: 5.469 kB / 344.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2095, allocations: 1.891 kB / 344.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2095, allocations: 1.594 kB / 344.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006123/0.2101, allocations: 0.4906 MB / 345 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2101, allocations: 1.75 kB / 345 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.2103, allocations: 54.81 kB / 345.1 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.932e-05/0.2104, allocations: 48.41 kB / 345.1 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.561e-05/0.2104, allocations: 21.98 kB / 345.2 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.2104, allocations: 9.594 kB / 345.2 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001419/0.2106, allocations: 0.5266 MB / 345.7 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.2106, allocations: 1.953 kB / 345.7 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.211, allocations: 382.1 kB / 346.1 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.211, allocations: 8.172 kB / 346.1 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.2112, allocations: 11.84 kB / 346.1 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.2112, allocations: 32.38 kB / 346.1 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.2112, allocations: 7.281 kB / 346.1 MB, free: 9.043 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.2114, allocations: 129.4 kB / 346.3 MB, free: 9.023 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2114, allocations: 0 / 346.3 MB, free: 9.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001164/0.2125, allocations: 0.5047 MB / 346.8 MB, free: 9.02 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.001273/0.2138, allocations: 0.8675 MB / 347.6 MB, free: 8.871 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000379/0.2142, allocations: 193.1 kB / 347.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/0.2142, allocations: 5.562 kB / 347.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.2144, allocations: 109.2 kB / 347.9 MB, free: 8.852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008015/0.2152, allocations: 1.179 MB / 349.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.2259, allocations: 0.793 MB / 349.9 MB, free: 7.309 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.296e-05/0.226, allocations: 112.3 kB / 350 MB, free: 7.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002268/0.2262, allocations: 62.22 kB / 350.1 MB, free: 7.219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.2265, allocations: 177 kB / 350.2 MB, free: 7.172 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.2265, allocations: 0 / 350.2 MB, free: 7.172 MB / 330.7 MB Notification: Performance of Templates: time 0.02033/0.2469, allocations: 19.96 MB / 370.2 MB, free: 0.6484 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.307664768770337]