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.06332/0.06332, allocations: 11.15 MB / 20.98 MB, free: 4.668 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008763/0.07208, allocations: 4.807 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.0006551/0.0006551, allocations: 82.41 kB / 26.61 MB, free: 8.113 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.001889, allocations: 442.4 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.0007695/0.0007695, allocations: 152.6 kB / 27.93 MB, free: 7.273 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001845, allocations: 478.6 kB / 28.4 MB, free: 6.926 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.8935/0.8935, allocations: 177.2 MB / 206.3 MB, free: 4.434 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1704/1.064, allocations: 53.64 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.09745/0.09745, allocations: 17.61 MB / 278.3 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02847/0.1259, 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_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.422e-06/1.422e-06, allocations: 0 / 286.1 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.049e-05, allocations: 2.312 kB / 286.1 MB, free: 6.941 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_3element): time 0.03896/0.03898, allocations: 40.35 MB / 326.4 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005118/0.0441, allocations: 4.127 MB / 330.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005006/0.0446, allocations: 19.88 kB / 330.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.04505, allocations: 194.4 kB / 330.8 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005146/0.05019, allocations: 2.421 MB / 333.2 MB, free: 7.645 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.05408, allocations: 1.658 MB / 334.9 MB, free: 5.977 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.05537, allocations: 1.215 MB / 336.1 MB, free: 4.754 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004805/0.05585, allocations: 296.7 kB / 336.4 MB, free: 4.457 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.05802, allocations: 1.24 MB / 337.6 MB, free: 3.215 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006237/0.05865, allocations: 394.8 kB / 338 MB, free: 2.828 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.04e-05/0.05871, allocations: 44 kB / 338 MB, free: 2.785 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003447/0.06215, allocations: 1.559 MB / 339.6 MB, free: 1.223 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.06228, allocations: 119.6 kB / 339.7 MB, free: 1.105 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.06246, allocations: 167.8 kB / 339.9 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1761/0.2386, allocations: 1.894 MB / 341.8 MB, free: 8.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.577e-05/0.2386, allocations: 0.8906 kB / 341.8 MB, free: 8.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2386, allocations: 0 / 341.8 MB, free: 8.395 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.548e-05/0.2386, allocations: 1.188 kB / 341.8 MB, free: 8.395 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.002682/0.2413, allocations: 1.274 MB / 343 MB, free: 7.781 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.2414, allocations: 12.48 kB / 343.1 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.2415, allocations: 65.58 kB / 343.1 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005958/0.2421, allocations: 307 kB / 343.4 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/0.2422, allocations: 28.12 kB / 343.4 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/0.2423, allocations: 44 kB / 343.5 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.2428, allocations: 366.1 kB / 343.8 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.2429, allocations: 1.844 kB / 343.8 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.2429, allocations: 17.77 kB / 343.9 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.2429, allocations: 9.719 kB / 343.9 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.2432, allocations: 149.5 kB / 344 MB, free: 7.457 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.001854/0.2451, allocations: 1.144 MB / 345.2 MB, free: 6.891 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.2454, allocations: 246.2 kB / 345.4 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.2456, allocations: 70.75 kB / 345.5 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007793/0.2463, allocations: 0.5314 MB / 346 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.2466, allocations: 156.3 kB / 346.2 MB, free: 6.449 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 2.264e-06/0.2466, allocations: 2.062 kB / 346.2 MB, free: 6.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.000661/0.2472, allocations: 281.3 kB / 346.4 MB, free: 6.391 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.2473, allocations: 57.94 kB / 346.5 MB, free: 6.328 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.2476, allocations: 321.8 kB / 346.8 MB, free: 6.199 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2476, allocations: 34.73 kB / 346.8 MB, free: 6.168 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2477, allocations: 216.2 kB / 347 MB, free: 6.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.457e-05/0.2478, allocations: 130.4 kB / 347.2 MB, free: 5.941 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.2479, allocations: 84.86 kB / 347.3 MB, free: 5.922 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.627e-05/0.2479, allocations: 353 kB / 347.6 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.2481, allocations: 67.11 kB / 347.7 MB, free: 5.605 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.2482, allocations: 149.6 kB / 347.8 MB, free: 5.512 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.0006725/0.2489, allocations: 396.3 kB / 348.2 MB, free: 5.406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2489, allocations: 1.125 kB / 348.2 MB, free: 5.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004829/0.2494, allocations: 308.2 kB / 348.5 MB, free: 5.344 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.2494, allocations: 6.359 kB / 348.5 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.2494, allocations: 2.375 kB / 348.5 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.2496, allocations: 52.38 kB / 348.6 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.2499, allocations: 92.81 kB / 348.7 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003682/0.2503, allocations: 1.059 MB / 349.7 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.2505, allocations: 41.58 kB / 349.8 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.2505, allocations: 16.19 kB / 349.8 MB, free: 4.273 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 (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.0001425/0.2507, allocations: 143.6 kB / 349.9 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.2507, allocations: 32.25 kB / 349.9 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.2512, allocations: 286.1 kB / 350.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.2512, allocations: 4.141 kB / 350.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2512, allocations: 0 / 350.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2512, allocations: 2.016 kB / 350.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.2523, allocations: 0.552 MB / 350.8 MB, free: 19.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.2523, allocations: 5.75 kB / 350.8 MB, free: 19.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.2524, allocations: 50.5 kB / 350.8 MB, free: 19.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2525, allocations: 49.12 kB / 350.9 MB, free: 19.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001516/0.2527, allocations: 50.7 kB / 350.9 MB, free: 19.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.2527, allocations: 10.27 kB / 350.9 MB, free: 19.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006528/0.2534, allocations: 1.063 MB / 352 MB, free: 18.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.2534, allocations: 3.031 kB / 352 MB, free: 18.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.2539, allocations: 416.4 kB / 352.4 MB, free: 18.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.2539, allocations: 7.047 kB / 352.4 MB, free: 18.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.254, allocations: 11.58 kB / 352.4 MB, free: 18.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.2541, allocations: 36.28 kB / 352.5 MB, free: 18.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.2541, allocations: 7.953 kB / 352.5 MB, free: 18.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.2543, allocations: 131.4 kB / 352.6 MB, free: 18.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2543, allocations: 0 / 352.6 MB, free: 18.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001952/0.2562, allocations: 0.5538 MB / 353.2 MB, free: 18.36 MB / 346.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.001756/0.258, allocations: 0.9305 MB / 354.1 MB, free: 18.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004917/0.2585, allocations: 215.2 kB / 354.3 MB, free: 18.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.066e-05/0.2585, allocations: 10.16 kB / 354.3 MB, free: 18.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.2587, allocations: 107.7 kB / 354.4 MB, free: 18.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.2592, allocations: 240.7 kB / 354.6 MB, free: 18.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008615/0.2678, allocations: 0.88 MB / 355.5 MB, free: 17.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.06e-05/0.2679, allocations: 112.5 kB / 355.6 MB, free: 17.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003927/0.2683, allocations: 68.67 kB / 355.7 MB, free: 17.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.2686, allocations: 182 kB / 355.9 MB, free: 17.52 MB / 346.7 MB Notification: Performance of SimCode: time 2.023e-06/0.2686, allocations: 0 / 355.9 MB, free: 17.52 MB / 346.7 MB Notification: Performance of Templates: time 0.02489/0.2935, allocations: 21.53 MB / 377.4 MB, free: 9.547 MB / 346.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: 3.3327410984784365]