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.08727/0.08727, allocations: 11.16 MB / 30.35 MB, free: 6.488 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.001228/0.001228, allocations: 92.52 kB / 37.95 MB, free: 7.875 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.00138/0.00138, allocations: 164.6 kB / 45.64 MB, free: 184 kB / 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.289/1.289, allocations: 177.2 MB / 230.4 MB, free: 8.348 MB / 206.1 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.1332/0.1332, allocations: 17.63 MB / 308.8 MB, free: 12.78 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: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 453.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.452e-05, allocations: 6.281 kB / 453.8 MB, free: 3 MB / 350.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.07335/0.07337, allocations: 64.35 MB / 0.506 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01684/0.09021, allocations: 13.83 MB / 0.5195 GB, free: 4.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003983/0.09061, allocations: 19.81 kB / 0.5196 GB, free: 4.773 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005893/0.0912, allocations: 210.4 kB / 0.5198 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005045/0.09624, allocations: 2.32 MB / 0.522 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.09893, allocations: 1.204 MB / 0.5232 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.1668/0.2657, allocations: 1.088 MB / 0.5243 GB, free: 29.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004991/0.2662, allocations: 247.5 kB / 0.5245 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.2683, allocations: 1.171 MB / 0.5256 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.2688, allocations: 372.3 kB / 0.526 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.373e-05/0.2688, allocations: 38.72 kB / 0.526 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.2716, allocations: 1.404 MB / 0.5274 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.2718, allocations: 130 kB / 0.5275 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.2719, allocations: 189.3 kB / 0.5277 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002448/0.2744, allocations: 2.069 MB / 0.5297 GB, free: 29.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2744, allocations: 0 / 0.5297 GB, free: 29.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2744, allocations: 1.938 kB / 0.5297 GB, free: 29.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2744, allocations: 0.7188 kB / 0.5297 GB, free: 29.53 MB / 430.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.001392/0.2758, allocations: 0.909 MB / 0.5306 GB, free: 28.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.2758, allocations: 14.02 kB / 0.5306 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.905e-05/0.2759, allocations: 49.28 kB / 0.5307 GB, free: 28.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.2764, allocations: 326.1 kB / 0.531 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.2764, allocations: 27.64 kB / 0.531 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.2765, allocations: 36.14 kB / 0.5311 GB, free: 28.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.2771, allocations: 428.8 kB / 0.5315 GB, free: 28.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.2771, allocations: 0 / 0.5315 GB, free: 28.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.2772, allocations: 17.23 kB / 0.5315 GB, free: 28.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.2772, allocations: 6.906 kB / 0.5315 GB, free: 28.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005931/0.2778, allocations: 332.2 kB / 0.5318 GB, free: 28.68 MB / 430.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.00188/0.2796, allocations: 1.27 MB / 0.533 GB, free: 28.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.2802, allocations: 304.9 kB / 0.5333 GB, free: 28.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.2804, allocations: 140.8 kB / 0.5335 GB, free: 28.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008893/0.2813, allocations: 0.5793 MB / 0.534 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.2816, allocations: 215 kB / 0.5342 GB, free: 27.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/0.2816, allocations: 2.844 kB / 0.5342 GB, free: 27.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.001018/0.2827, allocations: 470.3 kB / 0.5347 GB, free: 27.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.2827, allocations: 67.73 kB / 0.5348 GB, free: 27.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.283, allocations: 348.2 kB / 0.5351 GB, free: 27.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.283, allocations: 32.28 kB / 0.5351 GB, free: 27.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2831, allocations: 234.4 kB / 0.5353 GB, free: 27.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.2832, allocations: 106.7 kB / 0.5354 GB, free: 27.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.2833, allocations: 79.3 kB / 0.5355 GB, free: 27.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.2834, allocations: 346.1 kB / 0.5359 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.2836, allocations: 142.6 kB / 0.536 GB, free: 26.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.284, allocations: 221.6 kB / 0.5362 GB, free: 26.8 MB / 430.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.001833/0.2858, allocations: 0.8139 MB / 0.537 GB, free: 26.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2858, allocations: 3.75 kB / 0.537 GB, free: 26.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007972/0.2866, allocations: 461 kB / 0.5374 GB, free: 26.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2866, allocations: 9.844 kB / 0.5374 GB, free: 26.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.2866, allocations: 6.953 kB / 0.5375 GB, free: 26.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.2867, allocations: 34.47 kB / 0.5375 GB, free: 26.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.2871, allocations: 83.42 kB / 0.5376 GB, free: 26.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002463/0.2873, allocations: 0.5463 MB / 0.5381 GB, free: 26.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.2876, allocations: 43.39 kB / 0.5381 GB, free: 26.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.2876, allocations: 15.33 kB / 0.5382 GB, free: 26.09 MB / 430.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.0001603/0.2878, allocations: 170.4 kB / 0.5383 GB, free: 25.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.2878, allocations: 37 kB / 0.5384 GB, free: 25.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007766/0.2886, allocations: 425.2 kB / 0.5388 GB, free: 25.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2886, allocations: 2.344 kB / 0.5388 GB, free: 25.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2886, allocations: 1.812 kB / 0.5388 GB, free: 25.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2886, allocations: 3.266 kB / 0.5388 GB, free: 25.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.2898, allocations: 0.7672 MB / 0.5395 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2898, allocations: 0 / 0.5395 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.29, allocations: 44 kB / 0.5396 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.209e-05/0.2901, allocations: 33.47 kB / 0.5396 GB, free: 25.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.2901, allocations: 12.47 kB / 0.5396 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002078/0.2903, allocations: 0.5485 MB / 0.5401 GB, free: 25.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2903, allocations: 0 / 0.5401 GB, free: 25.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/0.2912, allocations: 0.5941 MB / 0.5407 GB, free: 24.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.2913, allocations: 64.92 kB / 0.5408 GB, free: 24.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.2914, allocations: 11.12 kB / 0.5408 GB, free: 24.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.2916, allocations: 13.36 kB / 0.5408 GB, free: 24.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/0.2917, allocations: 30.48 kB / 0.5408 GB, free: 24.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.2917, allocations: 9.297 kB / 0.5408 GB, free: 24.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.2919, allocations: 249.5 kB / 0.5411 GB, free: 24.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2919, allocations: 3.344 kB / 0.5411 GB, free: 24.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001045/0.293, allocations: 0.492 MB / 0.5416 GB, free: 24.68 MB / 430.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.001138/0.2941, allocations: 0.8221 MB / 0.5424 GB, free: 24.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006604/0.2948, allocations: 319.8 kB / 0.5427 GB, free: 24.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2948, allocations: 3.719 kB / 0.5427 GB, free: 24.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.2951, allocations: 145.2 kB / 0.5428 GB, free: 24.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007958/0.2959, allocations: 174.1 kB / 0.543 GB, free: 24.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.297, allocations: 0.7766 MB / 0.5437 GB, free: 24.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.2971, allocations: 213.6 kB / 0.5439 GB, free: 24.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002295/0.2974, allocations: 72.59 kB / 0.544 GB, free: 24.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.257e-05/0.2975, allocations: 44.06 kB / 0.5441 GB, free: 24.04 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2975, allocations: 0 / 0.5441 GB, free: 24.04 MB / 430.1 MB Notification: Performance of Templates: time 0.0197/0.3172, allocations: 16.24 MB / 0.5599 GB, free: 20.68 MB / 430.1 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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.080303471535444] Failed to read output from testmodel.py, exit status != 0: 0.3248255252838135 0.33338799700000005 0.056870028 Calling exit ...