Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.001178/0.001178, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.0008754/0.0008754, allocations: 170.3 kB / 25.18 MB, free: 8.324 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.9252/0.9252, allocations: 177.1 MB / 205.6 MB, free: 4.012 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.926/1.926, allocations: 389.6 MB / 0.6364 GB, free: 13.31 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.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.739e-05, allocations: 6.312 kB / 0.7756 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01119/0.01122, allocations: 8.434 MB / 0.7838 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006451/0.01767, allocations: 3.264 MB / 0.787 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008846/0.01856, allocations: 23.75 kB / 0.787 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006285/0.01919, allocations: 174.4 kB / 0.7872 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.02084, allocations: 0.5201 MB / 0.7877 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.0224, allocations: 0.8649 MB / 0.7886 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.02348, allocations: 1.474 MB / 0.79 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/0.02386, allocations: 430.4 kB / 0.7904 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005976/0.02446, allocations: 0.7402 MB / 0.7911 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003626/0.02482, allocations: 426.7 kB / 0.7915 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 6.391e-05/0.02488, allocations: 56 kB / 0.7916 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005292/0.02541, allocations: 471.1 kB / 0.792 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.02553, allocations: 167.3 kB / 0.7922 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.0257, allocations: 259.3 kB / 0.7924 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0007036/0.02641, allocations: 0.8096 MB / 0.7932 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.02641, allocations: 8 kB / 0.7932 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.22e-07/0.02641, allocations: 0 / 0.7932 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.02642, allocations: 0 / 0.7932 GB, free: 12.4 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0009842/0.0274, allocations: 0.9771 MB / 0.7942 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.02743, allocations: 8.031 kB / 0.7942 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008359/0.02827, allocations: 264.5 kB / 0.7945 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.02871, allocations: 389.5 kB / 0.7948 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.02873, allocations: 37.38 kB / 0.7949 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.02879, allocations: 56.12 kB / 0.7949 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.0294, allocations: 0.6733 MB / 0.7956 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.02941, allocations: 4 kB / 0.7956 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.02945, allocations: 24 kB / 0.7956 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.02946, allocations: 15.98 kB / 0.7956 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.02982, allocations: 397.5 kB / 0.796 GB, free: 9.453 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.03226, allocations: 2.564 MB / 0.7985 GB, free: 6.801 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.03254, allocations: 285 kB / 0.7988 GB, free: 6.512 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.03269, allocations: 159.7 kB / 0.7989 GB, free: 6.352 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.079e-05/0.03278, allocations: 31.97 kB / 0.7989 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.0328, allocations: 34.56 kB / 0.799 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=38): time 1.763e-06/0.0328, allocations: 0 / 0.799 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of matching and sorting (n=38): time 0.002063/0.03486, allocations: 0.8173 MB / 0.7998 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.03489, allocations: 55.41 kB / 0.7998 GB, free: 5.383 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.03517, allocations: 475 kB / 0.8003 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.0352, allocations: 37.7 kB / 0.8003 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.03532, allocations: 274.1 kB / 0.8006 GB, free: 4.594 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/0.03539, allocations: 134.8 kB / 0.8007 GB, free: 4.461 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.03553, allocations: 126.2 kB / 0.8008 GB, free: 4.332 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.03562, allocations: 366.7 kB / 0.8012 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.03578, allocations: 158.2 kB / 0.8013 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.03603, allocations: 365.2 kB / 0.8017 GB, free: 3.367 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.03643, allocations: 493.2 kB / 0.8022 GB, free: 2.82 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.03644, allocations: 4 kB / 0.8022 GB, free: 2.816 MB / 0.7605 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001812/0.03825, allocations: 0.836 MB / 0.803 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.03827, allocations: 8 kB / 0.803 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.03828, allocations: 7.984 kB / 0.803 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.03964, allocations: 360.9 kB / 0.8033 GB, free: 1.598 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.03998, allocations: 139.7 kB / 0.8035 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003379/0.04032, allocations: 0.5874 MB / 0.804 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.04058, allocations: 71.55 kB / 0.8041 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.04062, allocations: 27.97 kB / 0.8041 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002214/0.04084, allocations: 231.1 kB / 0.8044 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002347/0.04108, allocations: 377.2 kB / 0.8047 GB, free: 72 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3794/0.4204, allocations: 477.1 kB / 0.8052 GB, free: 29.27 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.427e-06/0.4204, allocations: 1.703 kB / 0.8052 GB, free: 29.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.0005936/0.421, allocations: 498.6 kB / 0.8056 GB, free: 29.23 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.421, allocations: 7.031 kB / 0.8057 GB, free: 29.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4211, allocations: 5.562 kB / 0.8057 GB, free: 29.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.4211, allocations: 8.25 kB / 0.8057 GB, free: 29.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.4216, allocations: 171.1 kB / 0.8058 GB, free: 29.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4216, allocations: 10.73 kB / 0.8058 GB, free: 29.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.4219, allocations: 60.77 kB / 0.8059 GB, free: 29.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.422, allocations: 24.3 kB / 0.8059 GB, free: 29.23 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.4221, allocations: 220.2 kB / 0.8061 GB, free: 29.05 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.044e-05/0.4222, allocations: 44.45 kB / 0.8062 GB, free: 29.05 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.424, allocations: 0.7654 MB / 0.8069 GB, free: 29 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.424, allocations: 4.234 kB / 0.8069 GB, free: 29 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.424, allocations: 1.953 kB / 0.8069 GB, free: 29 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.424, allocations: 3.156 kB / 0.8069 GB, free: 29 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.4264, allocations: 1.215 MB / 0.8081 GB, free: 28.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4264, allocations: 2.219 kB / 0.8081 GB, free: 28.67 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.4267, allocations: 88.81 kB / 0.8082 GB, free: 28.67 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/0.4279, allocations: 321.8 kB / 0.8085 GB, free: 28.66 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/0.428, allocations: 13.88 kB / 0.8085 GB, free: 28.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004838/0.4284, allocations: 0.6021 MB / 0.8091 GB, free: 28.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4284, allocations: 5.875 kB / 0.8091 GB, free: 28.14 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.4302, allocations: 0.8164 MB / 0.8099 GB, free: 27.91 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.4304, allocations: 86.52 kB / 0.81 GB, free: 27.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.4304, allocations: 13.42 kB / 0.81 GB, free: 27.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.4306, allocations: 29.83 kB / 0.81 GB, free: 27.91 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.4307, allocations: 32.61 kB / 0.8101 GB, free: 27.91 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.4307, allocations: 17.53 kB / 0.8101 GB, free: 27.91 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002213/0.431, allocations: 210.9 kB / 0.8103 GB, free: 27.89 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.431, allocations: 0 / 0.8103 GB, free: 27.89 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008602/0.4318, allocations: 383.4 kB / 0.8107 GB, free: 27.89 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003317/0.4322, allocations: 203 kB / 0.8108 GB, free: 27.82 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009296/0.4331, allocations: 0.6814 MB / 0.8115 GB, free: 27.79 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.4331, allocations: 6.094 kB / 0.8115 GB, free: 27.79 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005153/0.4336, allocations: 254.5 kB / 0.8118 GB, free: 27.79 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.4342, allocations: 217.2 kB / 0.812 GB, free: 27.78 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.4355, allocations: 1.08 MB / 0.813 GB, free: 27.24 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.4358, allocations: 293.3 kB / 0.8133 GB, free: 27.14 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/0.4363, allocations: 218.1 kB / 0.8135 GB, free: 27.1 MB / 0.7605 GB Notification: Performance of SimCode: time 7.52e-07/0.4363, allocations: 1.031 kB / 0.8135 GB, free: 27.1 MB / 0.7605 GB Notification: Performance of Templates: time 0.01493/0.4512, allocations: 13.05 MB / 0.8263 GB, free: 24.85 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.568772758357227]