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.06783/0.06783, allocations: 11.15 MB / 30.93 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.0008532/0.0008532, allocations: 98.14 kB / 38.66 MB, free: 6.898 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.001057/0.001057, allocations: 160.6 kB / 46.45 MB, free: 10.18 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.9627/0.9627, allocations: 177.2 MB / 231.3 MB, free: 4.641 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.1109/0.1109, allocations: 17.65 MB / 309.9 MB, free: 8.57 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.412e-06/1.412e-06, allocations: 0 / 391.7 MB, free: 45.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.43e-05, allocations: 10.28 kB / 391.7 MB, free: 45.9 MB / 330.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.04127/0.0413, allocations: 63.34 MB / 455.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0044/0.0457, allocations: 4.03 MB / 459.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.04602, allocations: 19.88 kB / 459.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005203/0.04654, allocations: 194.5 kB / 459.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005287/0.05183, allocations: 2.448 MB / 461.8 MB, free: 8.016 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003799/0.05563, allocations: 1.673 MB / 463.4 MB, free: 6.332 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.05695, allocations: 1.199 MB / 464.6 MB, free: 5.129 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004627/0.05742, allocations: 296 kB / 464.9 MB, free: 4.836 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.05975, allocations: 1.229 MB / 466.2 MB, free: 3.602 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006025/0.06035, allocations: 422.8 kB / 466.6 MB, free: 3.188 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.06041, allocations: 44 kB / 466.6 MB, free: 3.145 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.06351, allocations: 1.504 MB / 468.1 MB, free: 1.637 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.06364, allocations: 143.5 kB / 468.3 MB, free: 1.496 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.06383, allocations: 211.5 kB / 468.5 MB, free: 1.289 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003053/0.06688, allocations: 2.078 MB / 470.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.06688, allocations: 0 / 470.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.06689, allocations: 4 kB / 470.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.06689, allocations: 4 kB / 470.6 MB, free: 15.19 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001233/0.06812, allocations: 1.067 MB / 471.6 MB, free: 14.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.06817, allocations: 12.03 kB / 471.6 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.06827, allocations: 75.67 kB / 471.7 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.06863, allocations: 347.6 kB / 472 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.06866, allocations: 29 kB / 472.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.06871, allocations: 43.94 kB / 472.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005779/0.06929, allocations: 361.2 kB / 472.5 MB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.06931, allocations: 7.938 kB / 472.5 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.06934, allocations: 16 kB / 472.5 MB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.06935, allocations: 8 kB / 472.5 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.06965, allocations: 158.8 kB / 472.7 MB, free: 12.98 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.001623/0.07127, allocations: 1.551 MB / 474.2 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.07152, allocations: 207.5 kB / 474.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.285e-05/0.07161, allocations: 84.78 kB / 474.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/0.07226, allocations: 0.6483 MB / 475.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.07244, allocations: 155.9 kB / 475.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.603e-06/0.07244, allocations: 0 / 475.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006415/0.07308, allocations: 389.8 kB / 475.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.07312, allocations: 59.34 kB / 475.7 MB, free: 9.773 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.07333, allocations: 378.5 kB / 476.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.07336, allocations: 33.7 kB / 476.1 MB, free: 9.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.07349, allocations: 291.3 kB / 476.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/0.07356, allocations: 126.9 kB / 476.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-05/0.07366, allocations: 95.75 kB / 476.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.07381, allocations: 0.5234 MB / 477.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-05/0.07391, allocations: 56.95 kB / 477.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.07407, allocations: 196.8 kB / 477.4 MB, free: 8.008 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.0006778/0.07475, allocations: 400.2 kB / 477.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.07475, allocations: 0 / 477.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000482/0.07523, allocations: 393.1 kB / 478.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.07525, allocations: 8 kB / 478.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.07526, allocations: 0 / 478.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.07542, allocations: 59.64 kB / 478.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.07561, allocations: 83.89 kB / 478.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008205/0.07643, allocations: 1.608 MB / 479.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.07657, allocations: 43.72 kB / 480 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.0766, allocations: 15.92 kB / 480 MB, free: 5.285 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 (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.0001224/0.07672, allocations: 180.6 kB / 480.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.07678, allocations: 59.64 kB / 480.2 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.0772, allocations: 368.9 kB / 480.6 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.07721, allocations: 4 kB / 480.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.07721, allocations: 0 / 480.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.07722, allocations: 4 kB / 480.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006811/0.0779, allocations: 0.7131 MB / 481.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.0779, allocations: 4 kB / 481.3 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.07802, allocations: 39.97 kB / 481.4 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.64e-05/0.07811, allocations: 55.28 kB / 481.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.07813, allocations: 15.92 kB / 481.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004847/0.07861, allocations: 1.6 MB / 483 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.07862, allocations: 0 / 483 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.07907, allocations: 0.5149 MB / 483.5 MB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.613e-05/0.07916, allocations: 71.73 kB / 483.6 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.07919, allocations: 19.88 kB / 483.6 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.0793, allocations: 11.98 kB / 483.6 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.07936, allocations: 32.08 kB / 483.7 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.07938, allocations: 11.98 kB / 483.7 MB, free: 1.414 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.0795, allocations: 251 kB / 483.9 MB, free: 1.172 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0795, allocations: 0 / 483.9 MB, free: 1.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009781/0.08047, allocations: 0.5294 MB / 484.5 MB, free: 0.6406 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 (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.001036/0.08151, allocations: 0.8991 MB / 485.4 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003533/0.08186, allocations: 240.9 kB / 485.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.08187, allocations: 0 / 485.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.082, allocations: 124 kB / 485.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.0825, allocations: 196.1 kB / 485.9 MB, free: 15.18 MB / 394.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.001873/0.08438, allocations: 0.8705 MB / 486.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.572e-05/0.08444, allocations: 109.8 kB / 486.9 MB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.08462, allocations: 63.25 kB / 486.9 MB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.08489, allocations: 222.1 kB / 487.2 MB, free: 13.86 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.08489, allocations: 0 / 487.2 MB, free: 13.86 MB / 394.7 MB Notification: Performance of Templates: time 0.0214/0.1063, allocations: 20.83 MB / 0.4961 GB, free: 9.195 MB / 410.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.4909890522249043]