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.05236/0.05236, allocations: 11.15 MB / 30.71 MB, free: 4.473 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.0008353/0.0008353, allocations: 103 kB / 38.41 MB, free: 7.02 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.0009543/0.0009543, allocations: 156.5 kB / 46.16 MB, free: 10.35 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 0.9153/0.9153, allocations: 177.2 MB / 231 MB, free: 2.105 MB / 202.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.1846/0.1846, allocations: 17.63 MB / 309.5 MB, free: 1.953 MB / 266.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 / 391.2 MB, free: 4.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.936e-05, allocations: 6.25 kB / 391.2 MB, free: 4.723 MB / 346.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.2941/0.2941, allocations: 60.61 MB / 451.8 MB, free: 46.55 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.003532/0.2976, allocations: 3.712 MB / 455.6 MB, free: 46.49 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.2979, allocations: 20.41 kB / 455.6 MB, free: 46.49 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.2983, allocations: 175.6 kB / 455.7 MB, free: 46.48 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003677/0.302, allocations: 2.327 MB / 458.1 MB, free: 46.11 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.3038, allocations: 1.178 MB / 459.3 MB, free: 45.89 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005782/0.3044, allocations: 1.095 MB / 460.4 MB, free: 45.62 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.3046, allocations: 265.7 kB / 460.6 MB, free: 45.6 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.306, allocations: 1.179 MB / 461.8 MB, free: 45.42 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.3064, allocations: 373.1 kB / 462.2 MB, free: 45.38 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.3064, allocations: 39.03 kB / 462.2 MB, free: 45.38 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.3081, allocations: 1.392 MB / 463.6 MB, free: 45.28 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 9.824e-05/0.3082, allocations: 133.8 kB / 463.7 MB, free: 45.25 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.3083, allocations: 194.4 kB / 463.9 MB, free: 45.23 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.3099, allocations: 1.931 MB / 465.8 MB, free: 44.89 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3099, allocations: 0 / 465.8 MB, free: 44.89 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3099, allocations: 0 / 465.8 MB, free: 44.89 MB / 394.8 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3099, allocations: 4 kB / 465.8 MB, free: 44.89 MB / 394.8 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.0009439/0.3108, allocations: 1.008 MB / 466.8 MB, free: 44.24 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3109, allocations: 9.188 kB / 466.9 MB, free: 44.24 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.197e-05/0.311, allocations: 75.31 kB / 466.9 MB, free: 44.21 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.3113, allocations: 327.2 kB / 467.2 MB, free: 44.03 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.3113, allocations: 29.56 kB / 467.3 MB, free: 44.03 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.3113, allocations: 37.47 kB / 467.3 MB, free: 44.02 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.3117, allocations: 364.7 kB / 467.7 MB, free: 43.87 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3117, allocations: 0 / 467.7 MB, free: 43.87 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.3117, allocations: 15.38 kB / 467.7 MB, free: 43.87 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3117, allocations: 9.094 kB / 467.7 MB, free: 43.87 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.312, allocations: 169.4 kB / 467.9 MB, free: 43.86 MB / 394.8 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.001167/0.3132, allocations: 1.434 MB / 469.3 MB, free: 43.03 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.3134, allocations: 217.2 kB / 469.5 MB, free: 42.99 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.3135, allocations: 80.14 kB / 469.6 MB, free: 42.97 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/0.314, allocations: 0.6165 MB / 470.2 MB, free: 42.62 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.3142, allocations: 154.1 kB / 470.4 MB, free: 42.54 MB / 394.8 MB Notification: Performance of pre-optimization done (n=31): time 1.433e-06/0.3142, allocations: 0 / 470.4 MB, free: 42.54 MB / 394.8 MB Notification: Performance of matching and sorting (n=31): time 0.0005122/0.3147, allocations: 313.5 kB / 470.7 MB, free: 42.46 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.3147, allocations: 54.09 kB / 470.7 MB, free: 42.4 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.3149, allocations: 381 kB / 471.1 MB, free: 42.22 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.3149, allocations: 31.27 kB / 471.1 MB, free: 42.19 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/0.315, allocations: 277.3 kB / 471.4 MB, free: 42 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.315, allocations: 111.1 kB / 471.5 MB, free: 41.93 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.3151, allocations: 91.39 kB / 471.6 MB, free: 41.91 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 5.811e-05/0.3152, allocations: 0.5136 MB / 472.1 MB, free: 41.41 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.667e-05/0.3153, allocations: 62.78 kB / 472.2 MB, free: 41.41 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.3154, allocations: 181 kB / 472.3 MB, free: 41.28 MB / 394.8 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.0004839/0.3159, allocations: 412.1 kB / 472.7 MB, free: 41.13 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3159, allocations: 0 / 472.7 MB, free: 41.13 MB / 394.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003765/0.3163, allocations: 342.8 kB / 473.1 MB, free: 41.06 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3163, allocations: 6.688 kB / 473.1 MB, free: 41.06 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3163, allocations: 3.281 kB / 473.1 MB, free: 41.06 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/0.3164, allocations: 28.16 kB / 473.1 MB, free: 41.04 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.3166, allocations: 83.52 kB / 473.2 MB, free: 41.04 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000169/0.3168, allocations: 0.8025 MB / 474 MB, free: 40.24 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.3169, allocations: 40 kB / 474 MB, free: 40.22 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.3169, allocations: 19.77 kB / 474.1 MB, free: 40.22 MB / 394.8 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 8.764e-05/0.317, allocations: 182.2 kB / 474.2 MB, free: 40.06 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.317, allocations: 48.02 kB / 474.3 MB, free: 40.04 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/0.3174, allocations: 320.6 kB / 474.6 MB, free: 39.94 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3174, allocations: 2.719 kB / 474.6 MB, free: 39.94 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3174, allocations: 0 / 474.6 MB, free: 39.94 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3174, allocations: 3.328 kB / 474.6 MB, free: 39.94 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005693/0.318, allocations: 0.6851 MB / 475.3 MB, free: 39.61 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.318, allocations: 4 kB / 475.3 MB, free: 39.61 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3181, allocations: 45.17 kB / 475.3 MB, free: 39.6 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.548e-05/0.3182, allocations: 26.62 kB / 475.4 MB, free: 39.59 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.3182, allocations: 6.062 kB / 475.4 MB, free: 39.59 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001315/0.3183, allocations: 0.8023 MB / 476.2 MB, free: 38.79 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3183, allocations: 3.422 kB / 476.2 MB, free: 38.79 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.3187, allocations: 468.9 kB / 476.6 MB, free: 38.55 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.3187, allocations: 69.75 kB / 476.7 MB, free: 38.52 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.3188, allocations: 6.406 kB / 476.7 MB, free: 38.52 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3189, allocations: 12.89 kB / 476.7 MB, free: 38.52 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.3189, allocations: 24.88 kB / 476.7 MB, free: 38.52 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.319, allocations: 13.12 kB / 476.7 MB, free: 38.52 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0001263/0.3191, allocations: 255.3 kB / 477 MB, free: 38.4 MB / 394.8 MB Notification: Performance of sort global known variables: time 7e-08/0.3191, allocations: 2.719 kB / 477 MB, free: 38.4 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0005819/0.3197, allocations: 0.49 MB / 477.5 MB, free: 38.29 MB / 394.8 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.000778/0.3204, allocations: 0.8264 MB / 478.3 MB, free: 38.04 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.3208, allocations: 212.5 kB / 478.5 MB, free: 38.02 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3208, allocations: 0 / 478.5 MB, free: 38.02 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3209, allocations: 110.5 kB / 478.6 MB, free: 38.01 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.3214, allocations: 184.7 kB / 478.8 MB, free: 37.97 MB / 394.8 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.3231, allocations: 0.8158 MB / 479.6 MB, free: 37.51 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.732e-05/0.3231, allocations: 103.4 kB / 479.7 MB, free: 37.44 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.000141/0.3233, allocations: 80.88 kB / 479.8 MB, free: 37.42 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.3234, allocations: 43.75 kB / 479.8 MB, free: 37.41 MB / 394.8 MB Notification: Performance of SimCode: time 5.71e-07/0.3234, allocations: 0 / 479.8 MB, free: 37.41 MB / 394.8 MB Notification: Performance of Templates: time 0.0167/0.3401, allocations: 16.5 MB / 496.3 MB, free: 35.32 MB / 394.8 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.4880706882104278]