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.0009986/0.0009986, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.00109/0.00109, allocations: 165.7 kB / 25.05 MB, free: 9.246 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.9468/0.9468, allocations: 177.1 MB / 205.5 MB, free: 5.469 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.857/1.857, allocations: 389.6 MB / 0.6363 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.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.635e-06/2.635e-06, allocations: 4 kB / 0.7761 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.704e-05, allocations: 9.484 kB / 0.7761 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.006576/0.006603, allocations: 7.244 MB / 0.7832 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00334/0.009943, allocations: 2.542 MB / 0.7857 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.01026, allocations: 19.81 kB / 0.7857 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.01064, allocations: 128.7 kB / 0.7858 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006658/0.0113, allocations: 400.7 kB / 0.7862 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009408/0.01224, allocations: 0.5566 MB / 0.7868 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007748/0.01302, allocations: 0.9086 MB / 0.7877 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.01329, allocations: 252 kB / 0.7879 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.01373, allocations: 459.8 kB / 0.7883 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.01396, allocations: 239.2 kB / 0.7886 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.01399, allocations: 25.31 kB / 0.7886 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.01421, allocations: 119.7 kB / 0.7887 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/0.01429, allocations: 87.55 kB / 0.7888 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.01437, allocations: 132.8 kB / 0.7889 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.01474, allocations: 342.7 kB / 0.7892 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01474, allocations: 0 / 0.7892 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.81e-07/0.01474, allocations: 1.438 kB / 0.7892 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.01475, allocations: 3.938 kB / 0.7892 GB, free: 7.883 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.0006043/0.01535, allocations: 0.6096 MB / 0.7898 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.01538, allocations: 13.61 kB / 0.7899 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.01544, allocations: 44.91 kB / 0.7899 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.01578, allocations: 317.7 kB / 0.7902 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.01579, allocations: 16.88 kB / 0.7902 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.01582, allocations: 28.36 kB / 0.7902 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.01598, allocations: 143 kB / 0.7904 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.01598, allocations: 0 / 0.7904 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.016, allocations: 12 kB / 0.7904 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.016, allocations: 6.312 kB / 0.7904 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.847e-05/0.01606, allocations: 47.47 kB / 0.7904 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.01668, allocations: 463.2 kB / 0.7909 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.01689, allocations: 128.6 kB / 0.791 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.01692, allocations: 23.69 kB / 0.791 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.951e-05/0.01699, allocations: 15.98 kB / 0.791 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.01701, allocations: 34.56 kB / 0.7911 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.01701, allocations: 3 kB / 0.7911 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0001415/0.01715, allocations: 97.52 kB / 0.7912 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.01718, allocations: 55.41 kB / 0.7912 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.01756, allocations: 327.3 kB / 0.7915 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.01758, allocations: 33.7 kB / 0.7916 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.01765, allocations: 181.6 kB / 0.7917 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.01767, allocations: 47.52 kB / 0.7918 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.01772, allocations: 57.66 kB / 0.7918 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.0178, allocations: 344.5 kB / 0.7922 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.01783, allocations: 18.81 kB / 0.7922 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.813e-05/0.01792, allocations: 228.3 kB / 0.7924 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.986e-05/0.018, allocations: 91.73 kB / 0.7925 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01801, allocations: 0.9062 kB / 0.7925 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001343/0.01814, allocations: 131.1 kB / 0.7926 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.01815, allocations: 4 kB / 0.7926 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.01816, allocations: 4.719 kB / 0.7926 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.01817, allocations: 12.58 kB / 0.7926 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.01832, allocations: 56.94 kB / 0.7927 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.01832, allocations: 0.6562 kB / 0.7927 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.01842, allocations: 24.47 kB / 0.7927 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.01844, allocations: 9.953 kB / 0.7927 GB, free: 4.113 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 7.307e-05/0.01851, allocations: 128.7 kB / 0.7928 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.01854, allocations: 15.98 kB / 0.7929 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.0187, allocations: 130.3 kB / 0.793 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.01871, allocations: 4 kB / 0.793 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.01871, allocations: 3.984 kB / 0.793 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01871, allocations: 1.969 kB / 0.793 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.01906, allocations: 480.9 kB / 0.7935 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01906, allocations: 0 / 0.7935 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-05/0.01915, allocations: 37.55 kB / 0.7935 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01915, allocations: 4.531 kB / 0.7935 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.01916, allocations: 4 kB / 0.7935 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01916, allocations: 1.594 kB / 0.7935 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01916, allocations: 4 kB / 0.7935 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.0193, allocations: 272.9 kB / 0.7938 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.01936, allocations: 52.58 kB / 0.7938 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.01938, allocations: 4 kB / 0.7938 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.01946, allocations: 4.875 kB / 0.7938 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.01947, allocations: 11.97 kB / 0.7938 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.01948, allocations: 8 kB / 0.7938 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001008/0.01958, allocations: 138.4 kB / 0.794 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01958, allocations: 0 / 0.794 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002238/0.01981, allocations: 95.78 kB / 0.7941 GB, free: 2.66 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.0001742/0.01998, allocations: 131.7 kB / 0.7942 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001198/0.0201, allocations: 79.14 kB / 0.7943 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.02011, allocations: 5.062 kB / 0.7943 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-05/0.02015, allocations: 44.7 kB / 0.7943 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.02051, allocations: 148.1 kB / 0.7945 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000933/0.02144, allocations: 0.6278 MB / 0.7951 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.386e-05/0.0215, allocations: 101.3 kB / 0.7952 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.02161, allocations: 48.31 kB / 0.7952 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.0218, allocations: 148.2 kB / 0.7954 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.0218, allocations: 0 / 0.7954 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of Templates: time 0.008426/0.03023, allocations: 6.277 MB / 0.8015 GB, free: 11.27 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.91450868640095]