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.05809/0.05809, allocations: 11.16 MB / 30.72 MB, free: 4.488 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.001148/0.001148, allocations: 99.53 kB / 38.41 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.001016/0.001016, allocations: 160.5 kB / 46.17 MB, free: 10.33 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.9271/0.9271, allocations: 177.1 MB / 231 MB, free: 2.098 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.1934/0.1934, 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_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.343e-06/1.343e-06, allocations: 0 / 391.2 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.029e-05, allocations: 2.312 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_3element): time 0.2639/0.2639, allocations: 63.94 MB / 455.2 MB, free: 46.62 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.003859/0.2678, allocations: 4.109 MB / 459.3 MB, free: 46.55 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.268, allocations: 20.03 kB / 459.3 MB, free: 46.55 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0004782/0.2685, allocations: 199.6 kB / 459.5 MB, free: 46.55 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003604/0.2721, allocations: 2.438 MB / 461.9 MB, free: 46.15 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.2747, allocations: 1.682 MB / 463.6 MB, free: 45.62 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006798/0.2754, allocations: 1.2 MB / 464.8 MB, free: 45.33 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.2757, allocations: 296.8 kB / 465.1 MB, free: 45.3 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.2774, allocations: 1.232 MB / 466.3 MB, free: 45.04 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004499/0.2779, allocations: 409.2 kB / 466.7 MB, free: 45 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.2779, allocations: 42.66 kB / 466.8 MB, free: 45 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.2804, allocations: 1.509 MB / 468.3 MB, free: 44.83 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2805, allocations: 142.9 kB / 468.4 MB, free: 44.8 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.2807, allocations: 210 kB / 468.6 MB, free: 44.78 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.2828, allocations: 2.08 MB / 470.7 MB, free: 44.39 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2829, allocations: 4 kB / 470.7 MB, free: 44.39 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2829, allocations: 3 kB / 470.7 MB, free: 44.39 MB / 394.8 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2829, allocations: 0 / 470.7 MB, free: 44.39 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001238/0.2841, allocations: 1.067 MB / 471.8 MB, free: 43.71 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2841, allocations: 12.72 kB / 471.8 MB, free: 43.7 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.2843, allocations: 83.3 kB / 471.9 MB, free: 43.67 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.2847, allocations: 351.1 kB / 472.2 MB, free: 43.48 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.2847, allocations: 30.19 kB / 472.3 MB, free: 43.48 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-05/0.2848, allocations: 35.97 kB / 472.3 MB, free: 43.48 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.2853, allocations: 394.7 kB / 472.7 MB, free: 43.33 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.2853, allocations: 2.812 kB / 472.7 MB, free: 43.33 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.2854, allocations: 15.75 kB / 472.7 MB, free: 43.33 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.2854, allocations: 8.531 kB / 472.7 MB, free: 43.33 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.2857, allocations: 204.4 kB / 472.9 MB, free: 43.32 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.001575/0.2873, allocations: 1.527 MB / 474.4 MB, free: 42.45 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.2877, allocations: 235.9 kB / 474.7 MB, free: 42.4 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.2878, allocations: 89.34 kB / 474.8 MB, free: 42.39 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006789/0.2885, allocations: 0.6322 MB / 475.4 MB, free: 42.05 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.2887, allocations: 173.8 kB / 475.6 MB, free: 41.96 MB / 394.8 MB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.2887, allocations: 0 / 475.6 MB, free: 41.96 MB / 394.8 MB Notification: Performance of matching and sorting (n=35): time 0.0008152/0.2895, allocations: 389.4 kB / 475.9 MB, free: 41.87 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.2895, allocations: 60.58 kB / 476 MB, free: 41.81 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.2898, allocations: 387 kB / 476.4 MB, free: 41.62 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.2898, allocations: 34.86 kB / 476.4 MB, free: 41.59 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.2899, allocations: 295.6 kB / 476.7 MB, free: 41.39 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.29, allocations: 124.9 kB / 476.8 MB, free: 41.31 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.2901, allocations: 90.48 kB / 476.9 MB, free: 41.29 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.2902, allocations: 0.5214 MB / 477.4 MB, free: 40.79 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.2903, allocations: 69.98 kB / 477.5 MB, free: 40.78 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.2905, allocations: 193.7 kB / 477.7 MB, free: 40.65 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.0006633/0.2912, allocations: 433 kB / 478.1 MB, free: 40.5 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2912, allocations: 0 / 478.1 MB, free: 40.5 MB / 394.8 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006135/0.2918, allocations: 390.5 kB / 478.5 MB, free: 40.39 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2918, allocations: 6.469 kB / 478.5 MB, free: 40.39 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2918, allocations: 2.156 kB / 478.5 MB, free: 40.39 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/0.292, allocations: 67.67 kB / 478.6 MB, free: 40.36 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.2922, allocations: 81.14 kB / 478.6 MB, free: 40.35 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003911/0.2926, allocations: 1.606 MB / 480.2 MB, free: 38.76 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.2928, allocations: 41.48 kB / 480.3 MB, free: 38.74 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.2929, allocations: 17.03 kB / 480.3 MB, free: 38.74 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 (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.0001153/0.293, allocations: 190.3 kB / 480.5 MB, free: 38.57 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.2931, allocations: 50.95 kB / 480.5 MB, free: 38.55 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005688/0.2936, allocations: 356.7 kB / 480.9 MB, free: 38.44 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.2936, allocations: 3.406 kB / 480.9 MB, free: 38.44 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2936, allocations: 5.125 kB / 480.9 MB, free: 38.44 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2936, allocations: 7.234 kB / 480.9 MB, free: 38.43 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009047/0.2945, allocations: 0.767 MB / 481.7 MB, free: 38.08 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2945, allocations: 0 / 481.7 MB, free: 38.08 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.2947, allocations: 46.16 kB / 481.7 MB, free: 38.07 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.2948, allocations: 53.73 kB / 481.8 MB, free: 38.05 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.2949, allocations: 11.81 kB / 481.8 MB, free: 38.05 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003312/0.2952, allocations: 1.61 MB / 483.4 MB, free: 36.45 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2952, allocations: 0 / 483.4 MB, free: 36.45 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/0.2958, allocations: 0.5226 MB / 483.9 MB, free: 36.19 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.2959, allocations: 66.31 kB / 484 MB, free: 36.16 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.296, allocations: 17.59 kB / 484 MB, free: 36.16 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.2961, allocations: 12.52 kB / 484 MB, free: 36.16 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.2962, allocations: 30.16 kB / 484 MB, free: 36.15 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.2962, allocations: 12.44 kB / 484.1 MB, free: 36.15 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0001795/0.2964, allocations: 263.8 kB / 484.3 MB, free: 35.99 MB / 394.8 MB Notification: Performance of sort global known variables: time 8e-08/0.2964, allocations: 0 / 484.3 MB, free: 35.99 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.001071/0.2975, allocations: 0.5363 MB / 484.8 MB, free: 35.82 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 (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.001187/0.2987, allocations: 0.8775 MB / 485.7 MB, free: 35.55 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0005057/0.2992, allocations: 257 kB / 486 MB, free: 35.48 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2992, allocations: 0 / 486 MB, free: 35.48 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.2994, allocations: 123.6 kB / 486.1 MB, free: 35.45 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007034/0.3001, allocations: 195.2 kB / 486.3 MB, free: 35.38 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.002458/0.3026, allocations: 0.8878 MB / 487.2 MB, free: 34.87 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.462e-05/0.3026, allocations: 115.4 kB / 487.3 MB, free: 34.79 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.000198/0.3028, allocations: 71.69 kB / 487.4 MB, free: 34.78 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.369e-05/0.3029, allocations: 40.62 kB / 487.4 MB, free: 34.77 MB / 394.8 MB Notification: Performance of SimCode: time 5.61e-07/0.3029, allocations: 0 / 487.4 MB, free: 34.77 MB / 394.8 MB Notification: Performance of Templates: time 0.02122/0.3241, allocations: 17.83 MB / 0.4934 GB, free: 32.33 MB / 394.8 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.5779490480199456]