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.00137/0.00137, allocations: 104.3 kB / 19.71 MB, free: 436 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.001032/0.001032, allocations: 210.9 kB / 23 MB, free: 2.977 MB / 13.93 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.9878/0.9878, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.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.07044/0.07044, allocations: 17.17 MB / 330.4 MB, free: 0.707 MB / 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: Bodylight requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 71.89 kB / 460.7 MB, free: 27.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08337/0.08483, allocations: 57.77 MB / 0.5063 GB, free: 1.285 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.002685/0.08752, allocations: 2.622 MB / 0.5088 GB, free: 14.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008217/0.08834, allocations: 0.6507 MB / 0.5095 GB, free: 13.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.08845, allocations: 7.938 kB / 0.5095 GB, free: 13.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.08861, allocations: 35.58 kB / 0.5095 GB, free: 13.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.08885, allocations: 83.31 kB / 0.5096 GB, free: 13.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.089, allocations: 71.84 kB / 0.5097 GB, free: 13.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.0894, allocations: 314.5 kB / 0.51 GB, free: 13.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.08954, allocations: 36.58 kB / 0.51 GB, free: 13.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.08966, allocations: 115.6 kB / 0.5101 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.08981, allocations: 111.5 kB / 0.5102 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.08984, allocations: 16 kB / 0.5102 GB, free: 13.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.731e-05/0.08987, allocations: 16 kB / 0.5102 GB, free: 13.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.08991, allocations: 47.83 kB / 0.5103 GB, free: 13.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.951e-05/0.08999, allocations: 87.66 kB / 0.5104 GB, free: 13.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.0902, allocations: 235 kB / 0.5106 GB, free: 12.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.09021, allocations: 7.938 kB / 0.5106 GB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.09021, allocations: 0 / 0.5106 GB, free: 12.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.09022, allocations: 0 / 0.5106 GB, free: 12.82 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006631/0.09088, allocations: 475.2 kB / 0.5111 GB, free: 12.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.09091, allocations: 11.97 kB / 0.5111 GB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.09096, allocations: 24.8 kB / 0.5111 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.0912, allocations: 195 kB / 0.5113 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.385e-05/0.09126, allocations: 72.19 kB / 0.5114 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.09129, allocations: 12.38 kB / 0.5114 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.09156, allocations: 227.2 kB / 0.5116 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.09157, allocations: 0 / 0.5116 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.09159, allocations: 8 kB / 0.5116 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.0916, allocations: 4 kB / 0.5116 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.09186, allocations: 160.1 kB / 0.5117 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.09247, allocations: 455.9 kB / 0.5122 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.0928, allocations: 182.4 kB / 0.5124 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.09295, allocations: 84.8 kB / 0.5124 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.09298, allocations: 4 kB / 0.5124 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.0932, allocations: 189.9 kB / 0.5126 GB, free: 10.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.0932, allocations: 0 / 0.5126 GB, free: 10.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004414/0.09364, allocations: 249.4 kB / 0.5129 GB, free: 10.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.09367, allocations: 55.41 kB / 0.5129 GB, free: 10.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.09378, allocations: 182.2 kB / 0.5131 GB, free: 10.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.0938, allocations: 25.7 kB / 0.5131 GB, free: 10.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.09387, allocations: 144.3 kB / 0.5132 GB, free: 9.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.0939, allocations: 47.56 kB / 0.5133 GB, free: 9.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.09395, allocations: 49.66 kB / 0.5133 GB, free: 9.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.09403, allocations: 330.8 kB / 0.5137 GB, free: 9.496 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.09416, allocations: 89.66 kB / 0.5137 GB, free: 9.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.0943, allocations: 123.3 kB / 0.5139 GB, free: 9.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.09453, allocations: 185.6 kB / 0.514 GB, free: 9.078 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.09453, allocations: 0 / 0.514 GB, free: 9.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003328/0.09487, allocations: 279.4 kB / 0.5143 GB, free: 8.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.0949, allocations: 33.69 kB / 0.5143 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.0949, allocations: 3.938 kB / 0.5143 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.09491, allocations: 4 kB / 0.5143 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.09513, allocations: 59.98 kB / 0.5144 GB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.09514, allocations: 0 / 0.5144 GB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-05/0.09523, allocations: 27.86 kB / 0.5144 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.09524, allocations: 8 kB / 0.5144 GB, free: 8.648 MB / 378.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.674e-05/0.09533, allocations: 129.7 kB / 0.5146 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.09535, allocations: 19.91 kB / 0.5146 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.09567, allocations: 206.9 kB / 0.5148 GB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.09568, allocations: 4 kB / 0.5148 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.09568, allocations: 0 / 0.5148 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.09568, allocations: 0 / 0.5148 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.09616, allocations: 476.8 kB / 0.5152 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.09616, allocations: 0 / 0.5152 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.09634, allocations: 47.89 kB / 0.5153 GB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.09634, allocations: 3.984 kB / 0.5153 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.09635, allocations: 8 kB / 0.5153 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.09636, allocations: 4 kB / 0.5153 GB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.09636, allocations: 4 kB / 0.5153 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.0968, allocations: 378.3 kB / 0.5157 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.09682, allocations: 19.88 kB / 0.5157 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.09684, allocations: 4 kB / 0.5157 GB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.45e-05/0.09693, allocations: 24.03 kB / 0.5157 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.09699, allocations: 19.91 kB / 0.5157 GB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.097, allocations: 4 kB / 0.5157 GB, free: 7.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.697e-05/0.09706, allocations: 131.2 kB / 0.5158 GB, free: 7.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09706, allocations: 0 / 0.5158 GB, free: 7.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000184/0.09725, allocations: 59.89 kB / 0.5159 GB, free: 7.074 MB / 378.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.515e-05/0.09732, allocations: 103.1 kB / 0.516 GB, free: 6.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004575/0.09778, allocations: 240.9 kB / 0.5162 GB, free: 6.707 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.09778, allocations: 0 / 0.5162 GB, free: 6.707 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.09792, allocations: 79.89 kB / 0.5163 GB, free: 6.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.09817, allocations: 47.91 kB / 0.5164 GB, free: 6.582 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000819/0.09899, allocations: 0.5181 MB / 0.5169 GB, free: 6.031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.576e-05/0.09907, allocations: 116.9 kB / 0.517 GB, free: 5.891 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.09912, allocations: 23.42 kB / 0.517 GB, free: 5.867 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.09912, allocations: 0 / 0.517 GB, free: 5.867 MB / 378.7 MB Notification: Performance of Templates: time 0.002865/0.102, allocations: 2.659 MB / 0.5196 GB, free: 3.219 MB / 378.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: 4.863694434054196]