Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.conf.json 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.0008888/0.0008888, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0008784/0.0008784, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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.018/1.018, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.05776/0.05776, allocations: 12.77 MB / 273.8 MB, free: 132 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.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) Running command: translateModel(Bodylight.Hydraulic.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation") translateModel(Bodylight.Hydraulic.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 347.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.789e-05, allocations: 10.25 kB / 347.1 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.002754/0.002782, allocations: 2.812 MB / 349.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.00387, allocations: 0.6622 MB / 350.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.003998, allocations: 7.938 kB / 350.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.004137, allocations: 39.59 kB / 350.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.004368, allocations: 95.17 kB / 350.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.004557, allocations: 71.77 kB / 350.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.004873, allocations: 310.4 kB / 351.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.005002, allocations: 40.56 kB / 351.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.005221, allocations: 163.7 kB / 351.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.005378, allocations: 95.72 kB / 351.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.005412, allocations: 19.94 kB / 351.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.692e-05/0.005439, allocations: 16 kB / 351.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.005478, allocations: 43.83 kB / 351.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.701e-05/0.005545, allocations: 79.83 kB / 351.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.005762, allocations: 179.4 kB / 351.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.005765, allocations: 4 kB / 351.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005767, allocations: 0 / 351.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.005771, allocations: 4 kB / 351.7 MB, free: 13.15 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006075/0.006379, allocations: 0.5523 MB / 352.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.006415, allocations: 15.98 kB / 352.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.006473, allocations: 32.8 kB / 352.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.006697, allocations: 208.9 kB / 352.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/0.006757, allocations: 64.25 kB / 352.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.006783, allocations: 16.38 kB / 352.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.007007, allocations: 192.4 kB / 352.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.007019, allocations: 4.188 kB / 352.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.007035, allocations: 11.94 kB / 352.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.007041, allocations: 4 kB / 352.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.802e-05/0.007129, allocations: 56.16 kB / 352.9 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.007691, allocations: 451.8 kB / 353.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.007886, allocations: 114.9 kB / 353.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.127e-05/0.007957, allocations: 43.66 kB / 353.5 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.007978, allocations: 7.984 kB / 353.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.008125, allocations: 148.4 kB / 353.6 MB, free: 11.08 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 2.434e-06/0.008128, allocations: 0 / 353.6 MB, free: 11.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002263/0.008354, allocations: 149.2 kB / 353.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.008383, allocations: 55.41 kB / 353.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.008494, allocations: 235.1 kB / 354.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.008512, allocations: 29.7 kB / 354.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/0.00859, allocations: 187 kB / 354.3 MB, free: 10.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.008623, allocations: 55.58 kB / 354.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.008674, allocations: 43.34 kB / 354.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.008793, allocations: 0.4962 MB / 354.9 MB, free: 9.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.008854, allocations: 49.67 kB / 354.9 MB, free: 9.727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.783e-05/0.008912, allocations: 73.03 kB / 355 MB, free: 9.641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.009012, allocations: 111.6 kB / 355.1 MB, free: 9.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.009014, allocations: 0 / 355.1 MB, free: 9.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001917/0.009206, allocations: 196.9 kB / 355.3 MB, free: 9.309 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.009237, allocations: 37.62 kB / 355.3 MB, free: 9.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.009243, allocations: 4 kB / 355.3 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.009253, allocations: 0 / 355.3 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.009456, allocations: 51.95 kB / 355.4 MB, free: 9.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.009458, allocations: 0 / 355.4 MB, free: 9.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.009537, allocations: 27.97 kB / 355.4 MB, free: 9.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.009547, allocations: 4 kB / 355.4 MB, free: 9.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.009635, allocations: 164.5 kB / 355.6 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.009662, allocations: 27.83 kB / 355.6 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.009839, allocations: 130.5 kB / 355.7 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.009841, allocations: 0 / 355.7 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.009843, allocations: 4 kB / 355.7 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.009847, allocations: 0 / 355.7 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.01021, allocations: 421.7 kB / 356.1 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01021, allocations: 0 / 356.1 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.01037, allocations: 39.97 kB / 356.2 MB, free: 8.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01037, allocations: 0 / 356.2 MB, free: 8.363 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.01039, allocations: 7.984 kB / 356.2 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.01039, allocations: 7.938 kB / 356.2 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01039, allocations: 0 / 356.2 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.01063, allocations: 291.7 kB / 356.5 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.01065, allocations: 27.8 kB / 356.5 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.01067, allocations: 3.984 kB / 356.5 MB, free: 8.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.01075, allocations: 19.92 kB / 356.5 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.0108, allocations: 11.97 kB / 356.5 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.01081, allocations: 8 kB / 356.5 MB, free: 7.973 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.03e-05/0.01087, allocations: 163 kB / 356.7 MB, free: 7.812 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01087, allocations: 0 / 356.7 MB, free: 7.812 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001924/0.01106, allocations: 48 kB / 356.7 MB, free: 7.766 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (arteries.volume,veins.volume) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.387e-05/0.01114, allocations: 103.2 kB / 356.8 MB, free: 7.656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.01132, allocations: 166.5 kB / 357 MB, free: 7.473 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01132, allocations: 0 / 357 MB, free: 7.473 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.548e-05/0.01137, allocations: 50.73 kB / 357.1 MB, free: 7.422 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.01163, allocations: 59.86 kB / 357.1 MB, free: 7.363 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.01264, allocations: 484.4 kB / 357.6 MB, free: 6.852 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.58e-05/0.01272, allocations: 120.9 kB / 357.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.01287, allocations: 122.2 kB / 357.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01287, allocations: 0 / 357.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of Templates: time 0.003225/0.0161, allocations: 2.667 MB / 360.5 MB, free: 3.945 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.sim & ./Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation > Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.700862505938858]