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.06192/0.06192, allocations: 11.14 MB / 31.73 MB, free: 4.816 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.0009418/0.0009418, allocations: 90.5 kB / 39.44 MB, free: 6.918 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.001109/0.001109, allocations: 160.6 kB / 47.24 MB, free: 10.2 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.9392/0.9392, allocations: 177.1 MB / 232.1 MB, free: 1.684 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.08393/0.08393, allocations: 17.63 MB / 310.7 MB, free: 2.32 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.363e-06/1.363e-06, allocations: 0 / 392.5 MB, free: 372 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.675e-05, allocations: 4.281 kB / 392.5 MB, free: 368 kB / 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.1767/0.1767, allocations: 60.05 MB / 452.6 MB, free: 50.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003249/0.1799, allocations: 3.627 MB / 456.2 MB, free: 49.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.1802, allocations: 21.41 kB / 456.2 MB, free: 49.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.1806, allocations: 176.4 kB / 456.4 MB, free: 49.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.184, allocations: 2.328 MB / 458.7 MB, free: 49.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.1858, allocations: 1.184 MB / 459.9 MB, free: 48.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006231/0.1864, allocations: 1.093 MB / 461 MB, free: 48.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.1867, allocations: 269.9 kB / 461.3 MB, free: 48.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.188, allocations: 1.175 MB / 462.4 MB, free: 48.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.1884, allocations: 372.8 kB / 462.8 MB, free: 48.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.1884, allocations: 40.8 kB / 462.8 MB, free: 48.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.1899, allocations: 1.4 MB / 464.2 MB, free: 47.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.815e-05/0.1899, allocations: 136.6 kB / 464.4 MB, free: 47.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.1901, allocations: 184.7 kB / 464.5 MB, free: 47.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.1916, allocations: 1.941 MB / 466.5 MB, free: 47.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1916, allocations: 6.688 kB / 466.5 MB, free: 47.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1917, allocations: 0 / 466.5 MB, free: 47.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1917, allocations: 0 / 466.5 MB, free: 47.53 MB / 378.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.000979/0.1926, allocations: 1.005 MB / 467.5 MB, free: 46.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.672e-05/0.1927, allocations: 9.344 kB / 467.5 MB, free: 46.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/0.1927, allocations: 78.7 kB / 467.6 MB, free: 46.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.193, allocations: 332.5 kB / 467.9 MB, free: 46.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.193, allocations: 23.34 kB / 467.9 MB, free: 46.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.1931, allocations: 38.72 kB / 468 MB, free: 46.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.1934, allocations: 327.3 kB / 468.3 MB, free: 46.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1934, allocations: 0 / 468.3 MB, free: 46.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.1934, allocations: 16.14 kB / 468.3 MB, free: 46.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1934, allocations: 11.72 kB / 468.3 MB, free: 46.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.1936, allocations: 144.6 kB / 468.5 MB, free: 46.47 MB / 378.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.001068/0.1947, allocations: 1.433 MB / 469.9 MB, free: 45.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.1949, allocations: 186.5 kB / 470.1 MB, free: 45.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.753e-05/0.1949, allocations: 75.02 kB / 470.1 MB, free: 45.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004721/0.1954, allocations: 0.6132 MB / 470.8 MB, free: 45.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.1955, allocations: 146.3 kB / 470.9 MB, free: 45.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.252e-06/0.1955, allocations: 0 / 470.9 MB, free: 45.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004086/0.1959, allocations: 284.7 kB / 471.2 MB, free: 44.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.773e-05/0.1959, allocations: 59.34 kB / 471.2 MB, free: 44.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.1961, allocations: 371 kB / 471.6 MB, free: 44.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1961, allocations: 29.2 kB / 471.6 MB, free: 44.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.1962, allocations: 285.1 kB / 471.9 MB, free: 44.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.1962, allocations: 108 kB / 472 MB, free: 44.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-05/0.1963, allocations: 87.33 kB / 472.1 MB, free: 44.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.164e-05/0.1964, allocations: 0.5184 MB / 472.6 MB, free: 43.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.1965, allocations: 57.78 kB / 472.7 MB, free: 43.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1966, allocations: 176 kB / 472.8 MB, free: 43.5 MB / 378.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.0004003/0.197, allocations: 384.8 kB / 473.2 MB, free: 43.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.197, allocations: 0 / 473.2 MB, free: 43.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003231/0.1973, allocations: 311.7 kB / 473.5 MB, free: 42.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.1973, allocations: 12.25 kB / 473.5 MB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1973, allocations: 8 kB / 473.5 MB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.321e-05/0.1974, allocations: 34.66 kB / 473.6 MB, free: 42.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.1976, allocations: 77.25 kB / 473.7 MB, free: 42.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001563/0.1977, allocations: 0.801 MB / 474.5 MB, free: 41.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.1978, allocations: 42.77 kB / 474.5 MB, free: 41.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.1979, allocations: 18.69 kB / 474.5 MB, free: 41.95 MB / 378.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 8.484e-05/0.1979, allocations: 186.3 kB / 474.7 MB, free: 41.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.198, allocations: 39.77 kB / 474.7 MB, free: 41.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/0.1983, allocations: 299.7 kB / 475 MB, free: 41.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1983, allocations: 4 kB / 475 MB, free: 41.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1983, allocations: 0 / 475 MB, free: 41.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1983, allocations: 3.281 kB / 475 MB, free: 41.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.1988, allocations: 0.6247 MB / 475.7 MB, free: 40.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1988, allocations: 0 / 475.7 MB, free: 40.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1989, allocations: 46.59 kB / 475.7 MB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.931e-05/0.1989, allocations: 23.11 kB / 475.7 MB, free: 40.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1989, allocations: 11.19 kB / 475.7 MB, free: 40.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001257/0.1991, allocations: 0.7987 MB / 476.5 MB, free: 40.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1991, allocations: 0 / 476.5 MB, free: 40.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.1994, allocations: 435 kB / 477 MB, free: 39.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.1994, allocations: 69.59 kB / 477 MB, free: 39.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.1995, allocations: 11.33 kB / 477 MB, free: 39.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1996, allocations: 8 kB / 477.1 MB, free: 39.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.1996, allocations: 28.92 kB / 477.1 MB, free: 39.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1996, allocations: 15.33 kB / 477.1 MB, free: 39.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.029e-05/0.1997, allocations: 241 kB / 477.3 MB, free: 39.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1997, allocations: 4.062 kB / 477.3 MB, free: 39.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005694/0.2003, allocations: 499.4 kB / 477.8 MB, free: 38.87 MB / 378.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.0007037/0.201, allocations: 0.8551 MB / 478.7 MB, free: 38.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.2012, allocations: 205.2 kB / 478.9 MB, free: 38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.2012, allocations: 0 / 478.9 MB, free: 38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.376e-05/0.2013, allocations: 100.3 kB / 479 MB, free: 37.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.2018, allocations: 187.6 kB / 479.2 MB, free: 37.78 MB / 378.7 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.001415/0.2032, allocations: 0.8033 MB / 480 MB, free: 37.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.464e-05/0.2032, allocations: 117 kB / 480.1 MB, free: 36.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00014/0.2034, allocations: 61.95 kB / 480.1 MB, free: 36.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.2036, allocations: 203.5 kB / 480.3 MB, free: 36.7 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.2036, allocations: 4 kB / 480.3 MB, free: 36.69 MB / 378.7 MB Notification: Performance of Templates: time 0.0158/0.2194, allocations: 19.46 MB / 499.8 MB, free: 22.63 MB / 378.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.322437488939613]