Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Components.Validation.Tanks.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.001069/0.001069, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009741/0.0009741, allocations: 161 kB / 24.16 MB, free: 332 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 0.9777/0.9777, allocations: 177.1 MB / 204.6 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.936/1.936, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Components.Validation.Tanks") translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Components.Validation.Tanks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7751 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.706e-05, allocations: 5.547 kB / 0.7751 GB, free: 5.434 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/Templates/Components/Tanks/Buffer.mo:9:3-12:41:writable] Warning: Parameter noTan.V has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Tanks): time 0.01045/0.01048, allocations: 12.24 MB / 0.7871 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.008465/0.01894, allocations: 5.419 MB / 0.7924 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.02056, allocations: 67.44 kB / 0.7924 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000808/0.02137, allocations: 254 kB / 0.7927 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.02338, allocations: 0.8831 MB / 0.7935 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.02464, allocations: 0.641 MB / 0.7942 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00233/0.02697, allocations: 2.034 MB / 0.7962 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.02799, allocations: 0.5233 MB / 0.7967 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.03012, allocations: 0.944 MB / 0.7976 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009262/0.03105, allocations: 491.7 kB / 0.7981 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.03119, allocations: 63.94 kB / 0.7981 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007234/0.03191, allocations: 267.5 kB / 0.7984 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.03211, allocations: 199.2 kB / 0.7986 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003169/0.03242, allocations: 268 kB / 0.7988 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.03365, allocations: 0.7397 MB / 0.7995 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.03366, allocations: 4.562 kB / 0.7996 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.924e-06/0.03366, allocations: 0.8125 kB / 0.7996 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.03368, allocations: 0 / 0.7996 GB, free: 12.43 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001329/0.03501, allocations: 0.9243 MB / 0.8005 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.03505, allocations: 14.12 kB / 0.8005 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.0353, allocations: 108.8 kB / 0.8006 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006827/0.03598, allocations: 484.5 kB / 0.801 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.03602, allocations: 38.44 kB / 0.8011 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.527e-05/0.03609, allocations: 56.38 kB / 0.8011 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.03662, allocations: 493.9 kB / 0.8016 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.03664, allocations: 3.938 kB / 0.8016 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.03668, allocations: 19.98 kB / 0.8016 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.03671, allocations: 20.94 kB / 0.8016 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.03691, allocations: 143.4 kB / 0.8018 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.03847, allocations: 1.69 MB / 0.8034 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.03875, allocations: 183.8 kB / 0.8036 GB, free: 8.125 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.0388, allocations: 44.95 kB / 0.8036 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007726/0.03958, allocations: 0.5851 MB / 0.8042 GB, free: 7.48 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.0396, allocations: 38.5 kB / 0.8043 GB, free: 7.434 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.0396, allocations: 0 / 0.8043 GB, free: 7.434 MB / 0.7605 GB Notification: Performance of matching and sorting (n=20): time 0.0002429/0.03984, allocations: 180.4 kB / 0.8044 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.03987, allocations: 56.31 kB / 0.8045 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.04019, allocations: 448.7 kB / 0.8049 GB, free: 6.734 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.04022, allocations: 30.42 kB / 0.8049 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.04035, allocations: 309.1 kB / 0.8052 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.04039, allocations: 84.33 kB / 0.8053 GB, free: 6.309 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/0.04046, allocations: 85.34 kB / 0.8054 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.04056, allocations: 362.6 kB / 0.8057 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.742e-05/0.0406, allocations: 33.22 kB / 0.8058 GB, free: 5.824 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.04074, allocations: 284.5 kB / 0.806 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.04093, allocations: 238.5 kB / 0.8063 GB, free: 5.164 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.04093, allocations: 4.875 kB / 0.8063 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002435/0.04117, allocations: 233.7 kB / 0.8065 GB, free: 4.93 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.04119, allocations: 9.906 kB / 0.8065 GB, free: 4.922 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.0412, allocations: 4 kB / 0.8065 GB, free: 4.918 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.04121, allocations: 8 kB / 0.8065 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.04135, allocations: 79.83 kB / 0.8066 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.04136, allocations: 4 kB / 0.8066 GB, free: 4.828 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.04149, allocations: 33.09 kB / 0.8066 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.04151, allocations: 19.98 kB / 0.8066 GB, free: 4.777 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (intFlo.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001175/0.04163, allocations: 141.7 kB / 0.8068 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.04168, allocations: 35.97 kB / 0.8068 GB, free: 4.594 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.04192, allocations: 191.3 kB / 0.807 GB, free: 4.402 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.04192, allocations: 8 kB / 0.807 GB, free: 4.395 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.04193, allocations: 0.8438 kB / 0.807 GB, free: 4.395 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001802/0.04211, allocations: 357.6 kB / 0.8073 GB, free: 3.98 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.04266, allocations: 0.5799 MB / 0.8079 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.04267, allocations: 0 / 0.8079 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.04277, allocations: 47.84 kB / 0.808 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.04277, allocations: 0 / 0.808 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.04279, allocations: 8 kB / 0.808 GB, free: 3.305 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.04279, allocations: 4 kB / 0.808 GB, free: 3.301 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.04279, allocations: 1.125 kB / 0.808 GB, free: 3.301 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.04309, allocations: 371.6 kB / 0.8083 GB, free: 2.91 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.04318, allocations: 67.58 kB / 0.8084 GB, free: 2.844 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.04321, allocations: 5.406 kB / 0.8084 GB, free: 2.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.04333, allocations: 8 kB / 0.8084 GB, free: 2.832 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.04335, allocations: 15.97 kB / 0.8084 GB, free: 2.816 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.04337, allocations: 16.03 kB / 0.8084 GB, free: 2.801 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001458/0.04352, allocations: 196.2 kB / 0.8086 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.04352, allocations: 0 / 0.8086 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004044/0.04392, allocations: 192.6 kB / 0.8088 GB, free: 2.422 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (tan.vol.dynBal.U,intFlo.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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 0.0002683/0.04419, allocations: 166.9 kB / 0.809 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.04438, allocations: 147.7 kB / 0.8091 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.04439, allocations: 9.594 kB / 0.8091 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.826e-05/0.04446, allocations: 56.77 kB / 0.8092 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.0451, allocations: 287.9 kB / 0.8094 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.04644, allocations: 0.9788 MB / 0.8104 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.679e-05/0.04652, allocations: 141.3 kB / 0.8105 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002216/0.04674, allocations: 91.05 kB / 0.8106 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/0.04708, allocations: 223.1 kB / 0.8108 GB, free: 320 kB / 0.7605 GB Notification: Performance of SimCode: time 1.022e-06/0.04708, allocations: 0 / 0.8108 GB, free: 320 kB / 0.7605 GB Notification: Performance of Templates: time 0.01276/0.05984, allocations: 10.31 MB / 0.8209 GB, free: 6.262 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_13_Buildings.Templates.Components.Validation.Tanks.sim & ./Buildings_13_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2020772360265255]