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.0009166/0.0009166, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001436/0.001436, allocations: 169.8 kB / 25.18 MB, free: 9.109 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.9739/0.9739, allocations: 177.1 MB / 205.6 MB, free: 5.047 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.831/1.831, allocations: 389.6 MB / 0.6364 GB, free: 12.23 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.292e-06/1.292e-06, allocations: 0 / 0.7755 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.229e-05, allocations: 2.312 kB / 0.7755 GB, free: 6.004 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.01034/0.01036, allocations: 12.29 MB / 0.7875 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007666/0.01803, allocations: 5.4 MB / 0.7928 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.01943, allocations: 71.38 kB / 0.7929 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006038/0.02003, allocations: 248.9 kB / 0.7931 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.02172, allocations: 0.8824 MB / 0.794 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.02283, allocations: 0.6312 MB / 0.7946 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002149/0.02498, allocations: 2.04 MB / 0.7966 GB, free: 480 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.02606, allocations: 0.5464 MB / 0.7971 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.02731, allocations: 0.9325 MB / 0.798 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006136/0.02792, allocations: 487.6 kB / 0.7985 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.883e-05/0.02801, allocations: 60 kB / 0.7985 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006705/0.02868, allocations: 275.5 kB / 0.7988 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.02883, allocations: 200 kB / 0.799 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.02905, allocations: 267.4 kB / 0.7992 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0009825/0.03003, allocations: 0.7396 MB / 0.8 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.03004, allocations: 2 kB / 0.8 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.92e-07/0.03004, allocations: 4 kB / 0.8 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.03005, allocations: 0 / 0.8 GB, free: 12.98 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.001076/0.03113, allocations: 0.9203 MB / 0.8009 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.03116, allocations: 9.344 kB / 0.8009 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.03135, allocations: 105.8 kB / 0.801 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005995/0.03195, allocations: 0.4888 MB / 0.8014 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.03197, allocations: 41.31 kB / 0.8015 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.03203, allocations: 56.31 kB / 0.8015 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.03245, allocations: 498 kB / 0.802 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.03247, allocations: 0 / 0.802 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.03249, allocations: 20.72 kB / 0.802 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.03252, allocations: 12 kB / 0.802 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.03271, allocations: 147.8 kB / 0.8022 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.03413, allocations: 1.683 MB / 0.8038 GB, free: 8.875 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.03439, allocations: 181.6 kB / 0.804 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.03445, allocations: 51.66 kB / 0.8041 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007327/0.03518, allocations: 0.5842 MB / 0.8046 GB, free: 8.035 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.03521, allocations: 42.55 kB / 0.8047 GB, free: 7.984 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.03521, allocations: 0.8125 kB / 0.8047 GB, free: 7.984 MB / 0.7605 GB Notification: Performance of matching and sorting (n=20): time 0.0002376/0.03545, allocations: 180 kB / 0.8048 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.03547, allocations: 55.41 kB / 0.8049 GB, free: 7.738 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.03575, allocations: 449.7 kB / 0.8053 GB, free: 7.285 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.03576, allocations: 25.7 kB / 0.8053 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.0359, allocations: 309.1 kB / 0.8056 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.03594, allocations: 80.19 kB / 0.8057 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.318e-05/0.03602, allocations: 81.56 kB / 0.8058 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.03613, allocations: 366.6 kB / 0.8061 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/0.03618, allocations: 35.59 kB / 0.8062 GB, free: 6.379 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.03632, allocations: 280.6 kB / 0.8064 GB, free: 6.016 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.03651, allocations: 244.7 kB / 0.8067 GB, free: 5.719 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.03651, allocations: 1.062 kB / 0.8067 GB, free: 5.719 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002412/0.03675, allocations: 233.2 kB / 0.8069 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.03677, allocations: 9.203 kB / 0.8069 GB, free: 5.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.03678, allocations: 11.94 kB / 0.8069 GB, free: 5.469 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.03679, allocations: 4 kB / 0.8069 GB, free: 5.465 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.03693, allocations: 80.81 kB / 0.807 GB, free: 5.387 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.03693, allocations: 11.98 kB / 0.807 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.03706, allocations: 36.41 kB / 0.807 GB, free: 5.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.03709, allocations: 16 kB / 0.8071 GB, free: 5.324 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.0001102/0.0372, allocations: 145.4 kB / 0.8072 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.03724, allocations: 35.95 kB / 0.8072 GB, free: 5.137 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.03748, allocations: 194.4 kB / 0.8074 GB, free: 4.945 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.03748, allocations: 4 kB / 0.8074 GB, free: 4.941 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.03749, allocations: 3.984 kB / 0.8074 GB, free: 4.938 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001705/0.03766, allocations: 354.3 kB / 0.8078 GB, free: 4.527 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005694/0.03823, allocations: 0.5746 MB / 0.8083 GB, free: 3.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.03823, allocations: 4.75 kB / 0.8083 GB, free: 3.906 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.03835, allocations: 48.59 kB / 0.8084 GB, free: 3.859 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.03836, allocations: 4 kB / 0.8084 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.03837, allocations: 8.547 kB / 0.8084 GB, free: 3.848 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.03838, allocations: 4 kB / 0.8084 GB, free: 3.844 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.03838, allocations: 0.8438 kB / 0.8084 GB, free: 3.844 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.03867, allocations: 367.7 kB / 0.8087 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.03875, allocations: 63.58 kB / 0.8088 GB, free: 3.391 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.03879, allocations: 8 kB / 0.8088 GB, free: 3.383 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.03889, allocations: 9.609 kB / 0.8088 GB, free: 3.375 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.03891, allocations: 15.97 kB / 0.8088 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.03893, allocations: 12 kB / 0.8089 GB, free: 3.348 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001576/0.03909, allocations: 187.2 kB / 0.809 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.03909, allocations: 1.219 kB / 0.809 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004132/0.0395, allocations: 195.5 kB / 0.8092 GB, free: 2.973 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.0002304/0.03973, allocations: 168 kB / 0.8094 GB, free: 2.805 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.03994, allocations: 149 kB / 0.8095 GB, free: 2.66 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/0.03995, allocations: 8.688 kB / 0.8095 GB, free: 2.652 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.04002, allocations: 70.03 kB / 0.8096 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.04066, allocations: 290 kB / 0.8099 GB, free: 2.312 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.04207, allocations: 1.009 MB / 0.8109 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.04227, allocations: 283.8 kB / 0.8111 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/0.04266, allocations: 236.2 kB / 0.8114 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of SimCode: time 6.71e-07/0.04266, allocations: 0 / 0.8114 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of Templates: time 0.008691/0.05135, allocations: 9.045 MB / 0.8202 GB, free: 7.773 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 > Buildings_13_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.176566238515079]