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.001003/0.001003, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001416/0.001416, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 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 0.9445/0.9445, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.08313/0.08313, allocations: 12.76 MB / 272.7 MB, free: 288 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.764e-06/1.764e-06, allocations: 0 / 346.7 MB, free: 2.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.426e-05, allocations: 4.844 kB / 346.7 MB, free: 2.426 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.003831/0.003855, allocations: 2.829 MB / 349.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.005041, allocations: 0.67 MB / 350.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.00515, allocations: 7.938 kB / 350.2 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.005275, allocations: 39.58 kB / 350.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.005467, allocations: 87.25 kB / 350.3 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.005604, allocations: 67.78 kB / 350.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.005876, allocations: 318.3 kB / 350.7 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.006, allocations: 40.56 kB / 350.7 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.00616, allocations: 163.7 kB / 350.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.006304, allocations: 91.72 kB / 351 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.006335, allocations: 16 kB / 351 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.279e-05/0.006358, allocations: 16 kB / 351 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.006396, allocations: 43.83 kB / 351 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.006469, allocations: 79.83 kB / 351.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.006677, allocations: 183.3 kB / 351.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006679, allocations: 0 / 351.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.00668, allocations: 4 kB / 351.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.006684, allocations: 0 / 351.3 MB, free: 13.77 MB / 330.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.0005958/0.00728, allocations: 0.5562 MB / 351.9 MB, free: 13.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.007314, allocations: 15.92 kB / 351.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.007378, allocations: 36.8 kB / 351.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.007592, allocations: 201.1 kB / 352.1 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.986e-05/0.007652, allocations: 68.19 kB / 352.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.007682, allocations: 20.38 kB / 352.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.007921, allocations: 196.4 kB / 352.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.007932, allocations: 4.188 kB / 352.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.007948, allocations: 7.938 kB / 352.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.007955, allocations: 4 kB / 352.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.008082, allocations: 72.16 kB / 352.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/0.008662, allocations: 495.1 kB / 353 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.008872, allocations: 115 kB / 353.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.948e-05/0.008971, allocations: 51.66 kB / 353.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.008991, allocations: 7.984 kB / 353.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.009144, allocations: 164.2 kB / 353.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.009145, allocations: 0 / 353.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.000251/0.009396, allocations: 148.4 kB / 353.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.009427, allocations: 51.41 kB / 353.5 MB, free: 11.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.009552, allocations: 235.2 kB / 353.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.00957, allocations: 33.7 kB / 353.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.009644, allocations: 179.1 kB / 353.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.00968, allocations: 55.53 kB / 354 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.009738, allocations: 43.36 kB / 354 MB, free: 10.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.009855, allocations: 0.4962 MB / 354.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.00992, allocations: 53.69 kB / 354.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-05/0.009994, allocations: 88.94 kB / 354.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.0101, allocations: 101.1 kB / 354.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01011, allocations: 4 kB / 354.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001962/0.0103, allocations: 215.9 kB / 355 MB, free: 9.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.01032, allocations: 29.7 kB / 355 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01033, allocations: 0 / 355 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01034, allocations: 4 kB / 355 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.01054, allocations: 51.95 kB / 355.1 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.01055, allocations: 0 / 355.1 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.01062, allocations: 27.91 kB / 355.1 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.01064, allocations: 8 kB / 355.1 MB, free: 9.691 MB / 330.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.49e-05/0.01072, allocations: 172.5 kB / 355.3 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.01074, allocations: 19.84 kB / 355.3 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.01093, allocations: 131.1 kB / 355.4 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.01093, allocations: 3.938 kB / 355.4 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01093, allocations: 4 kB / 355.4 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01094, allocations: 0 / 355.4 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.0113, allocations: 453.1 kB / 355.9 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.0113, allocations: 0 / 355.9 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.01146, allocations: 55.89 kB / 355.9 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01147, allocations: 0 / 355.9 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.01148, allocations: 4 kB / 355.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01148, allocations: 0 / 355.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01148, allocations: 0 / 355.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.01175, allocations: 329.8 kB / 356.2 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.01177, allocations: 19.84 kB / 356.3 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.01179, allocations: 4 kB / 356.3 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.01187, allocations: 11.98 kB / 356.3 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.01192, allocations: 15.97 kB / 356.3 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.01193, allocations: 4 kB / 356.3 MB, free: 8.418 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.359e-05/0.01201, allocations: 175.1 kB / 356.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01201, allocations: 0 / 356.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.01219, allocations: 55.89 kB / 356.5 MB, free: 8.191 MB / 330.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 7.303e-05/0.01226, allocations: 95.28 kB / 356.6 MB, free: 8.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.01246, allocations: 176.6 kB / 356.8 MB, free: 7.895 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01246, allocations: 4 kB / 356.8 MB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.01253, allocations: 51.59 kB / 356.8 MB, free: 7.836 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.01278, allocations: 51.97 kB / 356.9 MB, free: 7.785 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.01379, allocations: 458.6 kB / 357.3 MB, free: 7.309 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.01383, allocations: 71.98 kB / 357.4 MB, free: 7.219 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.521e-05/0.01389, allocations: 25.47 kB / 357.4 MB, free: 7.195 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.01394, allocations: 24.5 kB / 357.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01394, allocations: 0 / 357.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of Templates: time 0.004214/0.01815, allocations: 2.8 MB / 360.3 MB, free: 4.422 MB / 330.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.73839143011719]