Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.001356/0.001356, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.0009517/0.0009517, allocations: 165 kB / 24.25 MB, free: 212 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.8985/0.8985, allocations: 177.1 MB / 204.7 MB, free: 5.426 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.829/1.829, allocations: 389.6 MB / 0.6355 GB, free: 12.25 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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.7754 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.069e-05, allocations: 3.094 kB / 0.7754 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.009394/0.009425, allocations: 7.255 MB / 0.7824 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004566/0.01399, allocations: 2.538 MB / 0.7849 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006347/0.01463, allocations: 19.81 kB / 0.7849 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.01515, allocations: 123.8 kB / 0.7851 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.01636, allocations: 405.7 kB / 0.7854 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.01804, allocations: 0.565 MB / 0.786 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001131/0.01917, allocations: 0.9064 MB / 0.7869 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/0.01958, allocations: 245.2 kB / 0.7871 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/0.0202, allocations: 467.3 kB / 0.7876 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.02054, allocations: 241.6 kB / 0.7878 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.02059, allocations: 24 kB / 0.7878 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.02085, allocations: 115.8 kB / 0.7879 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.544e-05/0.02095, allocations: 87.53 kB / 0.788 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.02106, allocations: 127.6 kB / 0.7881 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.02159, allocations: 357.9 kB / 0.7885 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.02159, allocations: 0 / 0.7885 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.433e-06/0.0216, allocations: 0 / 0.7885 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.02161, allocations: 0 / 0.7885 GB, free: 7.844 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007089/0.02232, allocations: 0.607 MB / 0.7891 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.02235, allocations: 8.75 kB / 0.7891 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.02242, allocations: 48.89 kB / 0.7891 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.0228, allocations: 319.1 kB / 0.7894 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.02283, allocations: 20.88 kB / 0.7894 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.02285, allocations: 24.38 kB / 0.7895 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.02309, allocations: 139.7 kB / 0.7896 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.0231, allocations: 0 / 0.7896 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.02311, allocations: 8.625 kB / 0.7896 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.02312, allocations: 4 kB / 0.7896 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.02318, allocations: 44.12 kB / 0.7897 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006753/0.02385, allocations: 468.8 kB / 0.7901 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.02408, allocations: 132.2 kB / 0.7902 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.02411, allocations: 23.69 kB / 0.7903 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.684e-05/0.0242, allocations: 15.98 kB / 0.7903 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.02422, allocations: 34.56 kB / 0.7903 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.02422, allocations: 1.469 kB / 0.7903 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.000156/0.02438, allocations: 97.84 kB / 0.7904 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.02441, allocations: 51.41 kB / 0.7904 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.02463, allocations: 340.5 kB / 0.7908 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.02465, allocations: 29.7 kB / 0.7908 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.02474, allocations: 177.6 kB / 0.791 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.02476, allocations: 51.56 kB / 0.791 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.02481, allocations: 50.48 kB / 0.7911 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002374/0.02505, allocations: 346.7 kB / 0.7914 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.02508, allocations: 24.03 kB / 0.7914 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.02519, allocations: 228 kB / 0.7916 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.616e-05/0.02528, allocations: 87.86 kB / 0.7917 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.02528, allocations: 4.75 kB / 0.7917 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001386/0.02542, allocations: 127.2 kB / 0.7918 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.02544, allocations: 13.05 kB / 0.7919 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.02544, allocations: 0 / 0.7919 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.02545, allocations: 7.938 kB / 0.7919 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.02561, allocations: 50.86 kB / 0.7919 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.02561, allocations: 4 kB / 0.7919 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.02572, allocations: 24.5 kB / 0.7919 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.02574, allocations: 11.98 kB / 0.792 GB, free: 4.078 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 9.152e-05/0.02583, allocations: 129.4 kB / 0.7921 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.02586, allocations: 29.66 kB / 0.7921 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.02603, allocations: 123.3 kB / 0.7922 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.02604, allocations: 7.969 kB / 0.7922 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.02604, allocations: 1 kB / 0.7922 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.02605, allocations: 4 kB / 0.7922 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.02643, allocations: 473.9 kB / 0.7927 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.02644, allocations: 5.031 kB / 0.7927 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.191e-05/0.02653, allocations: 32.98 kB / 0.7927 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.02653, allocations: 0 / 0.7927 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.02654, allocations: 8.938 kB / 0.7927 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.02654, allocations: 3.938 kB / 0.7927 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.02655, allocations: 0.7812 kB / 0.7927 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.02671, allocations: 280.4 kB / 0.793 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.02677, allocations: 44.69 kB / 0.793 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.02679, allocations: 4 kB / 0.7931 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.02687, allocations: 12.89 kB / 0.7931 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.02688, allocations: 7.984 kB / 0.7931 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.02689, allocations: 4.594 kB / 0.7931 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001067/0.027, allocations: 145.6 kB / 0.7932 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.027, allocations: 0 / 0.7932 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002459/0.02725, allocations: 91.78 kB / 0.7933 GB, free: 2.621 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000235/0.02748, allocations: 131.5 kB / 0.7934 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.02762, allocations: 77.33 kB / 0.7935 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.02762, allocations: 4 kB / 0.7935 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.413e-05/0.02767, allocations: 50.5 kB / 0.7936 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.02805, allocations: 129.2 kB / 0.7937 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.02905, allocations: 0.6332 MB / 0.7943 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.053e-05/0.02911, allocations: 100.6 kB / 0.7944 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.02924, allocations: 49.14 kB / 0.7944 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.02944, allocations: 151.2 kB / 0.7946 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.02944, allocations: 0 / 0.7946 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of Templates: time 0.008636/0.03807, allocations: 6.286 MB / 0.8007 GB, free: 11.23 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.95161319617182]