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.06146/0.06146, allocations: 11.16 MB / 30.72 MB, free: 4.477 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.001411/0.001411, allocations: 98.89 kB / 38.4 MB, free: 7 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.001201/0.001201, allocations: 168.5 kB / 46.18 MB, free: 10.32 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 1.016/1.016, allocations: 177.2 MB / 231 MB, free: 2.027 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.2262/0.2262, allocations: 17.62 MB / 309.5 MB, free: 1.934 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.813e-06/1.813e-06, allocations: 0 / 391.2 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.809e-05, allocations: 6.25 kB / 391.2 MB, free: 4.676 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.3249/0.3249, allocations: 60.62 MB / 451.9 MB, free: 46.65 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.004281/0.3292, allocations: 3.712 MB / 455.6 MB, free: 46.58 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.3294, allocations: 16.53 kB / 455.6 MB, free: 46.58 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.33, allocations: 170.3 kB / 455.8 MB, free: 46.57 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00449/0.3345, allocations: 2.332 MB / 458.1 MB, free: 46.2 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.3367, allocations: 1.184 MB / 459.3 MB, free: 45.98 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007383/0.3374, allocations: 1.091 MB / 460.4 MB, free: 45.71 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.3378, allocations: 268 kB / 460.6 MB, free: 45.69 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.3396, allocations: 1.179 MB / 461.8 MB, free: 45.51 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.34, allocations: 370.2 kB / 462.2 MB, free: 45.47 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.34, allocations: 39.25 kB / 462.2 MB, free: 45.47 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.3421, allocations: 1.393 MB / 463.6 MB, free: 45.37 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.3422, allocations: 139 kB / 463.7 MB, free: 45.34 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.3424, allocations: 188.2 kB / 463.9 MB, free: 45.32 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.3443, allocations: 1.937 MB / 465.9 MB, free: 44.98 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3443, allocations: 0 / 465.9 MB, free: 44.98 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3443, allocations: 4 kB / 465.9 MB, free: 44.98 MB / 394.8 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3443, allocations: 0 / 465.9 MB, free: 44.98 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.001128/0.3454, allocations: 1.004 MB / 466.9 MB, free: 44.33 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3455, allocations: 9.094 kB / 466.9 MB, free: 44.33 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.3456, allocations: 71.34 kB / 466.9 MB, free: 44.3 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.346, allocations: 333.9 kB / 467.3 MB, free: 44.12 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.346, allocations: 25.62 kB / 467.3 MB, free: 44.12 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.346, allocations: 39.48 kB / 467.3 MB, free: 44.11 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004567/0.3465, allocations: 358.5 kB / 467.7 MB, free: 43.96 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.3465, allocations: 0 / 467.7 MB, free: 43.96 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.3465, allocations: 15.53 kB / 467.7 MB, free: 43.96 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.3466, allocations: 6.188 kB / 467.7 MB, free: 43.96 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.3469, allocations: 175.2 kB / 467.9 MB, free: 43.96 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.001457/0.3483, allocations: 1.431 MB / 469.3 MB, free: 43.12 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.3486, allocations: 216.4 kB / 469.5 MB, free: 43.08 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.3488, allocations: 89.27 kB / 469.6 MB, free: 43.06 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006243/0.3494, allocations: 0.6084 MB / 470.2 MB, free: 42.71 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.3496, allocations: 151.8 kB / 470.4 MB, free: 42.63 MB / 394.8 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.3496, allocations: 0 / 470.4 MB, free: 42.63 MB / 394.8 MB Notification: Performance of matching and sorting (n=31): time 0.0006239/0.3502, allocations: 314.7 kB / 470.7 MB, free: 42.55 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.3502, allocations: 64.5 kB / 470.7 MB, free: 42.49 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.3505, allocations: 371.4 kB / 471.1 MB, free: 42.31 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3505, allocations: 33.45 kB / 471.1 MB, free: 42.28 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.3506, allocations: 283.6 kB / 471.4 MB, free: 42.09 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.3507, allocations: 113.4 kB / 471.5 MB, free: 42.02 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3508, allocations: 80.7 kB / 471.6 MB, free: 42 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.707e-05/0.3508, allocations: 0.5198 MB / 472.1 MB, free: 41.5 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3509, allocations: 61.36 kB / 472.2 MB, free: 41.5 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.3511, allocations: 178.5 kB / 472.3 MB, free: 41.37 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.0005999/0.3517, allocations: 415.5 kB / 472.7 MB, free: 41.22 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3517, allocations: 4 kB / 472.8 MB, free: 41.22 MB / 394.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004817/0.3522, allocations: 329.3 kB / 473.1 MB, free: 41.15 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3522, allocations: 5.219 kB / 473.1 MB, free: 41.15 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3522, allocations: 2.906 kB / 473.1 MB, free: 41.15 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000127/0.3523, allocations: 38 kB / 473.1 MB, free: 41.13 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.3526, allocations: 80.89 kB / 473.2 MB, free: 41.13 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000217/0.3528, allocations: 0.8002 MB / 474 MB, free: 40.34 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.353, allocations: 39.5 kB / 474 MB, free: 40.32 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.353, allocations: 19.31 kB / 474.1 MB, free: 40.32 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 0.0001087/0.3531, allocations: 187.8 kB / 474.2 MB, free: 40.15 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.3532, allocations: 50.02 kB / 474.3 MB, free: 40.12 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00046/0.3536, allocations: 318 kB / 474.6 MB, free: 40.03 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.3536, allocations: 5.219 kB / 474.6 MB, free: 40.03 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3536, allocations: 3 kB / 474.6 MB, free: 40.03 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3536, allocations: 0 / 474.6 MB, free: 40.03 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007053/0.3543, allocations: 0.6785 MB / 475.3 MB, free: 39.7 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3544, allocations: 7.344 kB / 475.3 MB, free: 39.7 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.3545, allocations: 45.86 kB / 475.3 MB, free: 39.69 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.86e-05/0.3546, allocations: 31.77 kB / 475.4 MB, free: 39.68 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.3546, allocations: 10.11 kB / 475.4 MB, free: 39.68 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001758/0.3548, allocations: 0.797 MB / 476.2 MB, free: 38.88 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3548, allocations: 0 / 476.2 MB, free: 38.88 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.3553, allocations: 476.3 kB / 476.6 MB, free: 38.63 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.87e-05/0.3554, allocations: 68.2 kB / 476.7 MB, free: 38.61 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.3554, allocations: 6.5 kB / 476.7 MB, free: 38.61 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.3555, allocations: 9.469 kB / 476.7 MB, free: 38.61 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.3556, allocations: 24.52 kB / 476.7 MB, free: 38.61 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.3556, allocations: 12.91 kB / 476.8 MB, free: 38.61 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0001531/0.3558, allocations: 255.1 kB / 477 MB, free: 38.48 MB / 394.8 MB Notification: Performance of sort global known variables: time 6e-08/0.3558, allocations: 0 / 477 MB, free: 38.48 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0007709/0.3566, allocations: 0.4889 MB / 477.5 MB, free: 38.38 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.0009576/0.3575, allocations: 0.8269 MB / 478.3 MB, free: 38.13 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.000407/0.3579, allocations: 221.9 kB / 478.5 MB, free: 38.11 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3579, allocations: 0.625 kB / 478.5 MB, free: 38.11 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.3581, allocations: 101.7 kB / 478.6 MB, free: 38.09 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.3587, allocations: 181.4 kB / 478.8 MB, free: 38.07 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.002149/0.3609, allocations: 0.8144 MB / 479.6 MB, free: 37.62 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.073e-05/0.3609, allocations: 109.8 kB / 479.7 MB, free: 37.55 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.3611, allocations: 76.62 kB / 479.8 MB, free: 37.52 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.3612, allocations: 46.64 kB / 479.9 MB, free: 37.51 MB / 394.8 MB Notification: Performance of SimCode: time 7.81e-07/0.3612, allocations: 0 / 479.9 MB, free: 37.51 MB / 394.8 MB Notification: Performance of Templates: time 0.02262/0.3838, allocations: 19.52 MB / 499.4 MB, free: 34.07 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.8170614880509675]