Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.0009362/0.0009362, 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.0009895/0.0009895, allocations: 161 kB / 24.17 MB, free: 328 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.9533/0.9533, allocations: 177.1 MB / 204.6 MB, free: 5.473 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 2.105/2.105, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.918e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.007015/0.007035, allocations: 7.411 MB / 0.7824 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003908/0.01094, allocations: 3.253 MB / 0.7856 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.01127, allocations: 23.75 kB / 0.7856 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.01189, allocations: 199.4 kB / 0.7858 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.01295, allocations: 473.9 kB / 0.7863 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.0141, allocations: 0.7165 MB / 0.787 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008662/0.01497, allocations: 0.9788 MB / 0.7879 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.01529, allocations: 269 kB / 0.7882 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.01577, allocations: 488.1 kB / 0.7887 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.01605, allocations: 255.2 kB / 0.7889 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.01609, allocations: 29.09 kB / 0.7889 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006496/0.01674, allocations: 491 kB / 0.7894 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.295e-05/0.01683, allocations: 104.4 kB / 0.7895 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.01694, allocations: 147.6 kB / 0.7896 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006355/0.01757, allocations: 0.5956 MB / 0.7902 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.01757, allocations: 0.7812 kB / 0.7902 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.02e-07/0.01758, allocations: 0 / 0.7902 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.01758, allocations: 0.9375 kB / 0.7902 GB, free: 5.996 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000706/0.01829, allocations: 0.7175 MB / 0.7909 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.01832, allocations: 10.5 kB / 0.7909 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.01838, allocations: 48.89 kB / 0.791 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.01875, allocations: 344 kB / 0.7913 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.01876, allocations: 20.88 kB / 0.7913 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.01879, allocations: 31.94 kB / 0.7914 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.01899, allocations: 159.5 kB / 0.7915 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.019, allocations: 0 / 0.7915 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.01901, allocations: 18.03 kB / 0.7915 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.01902, allocations: 4 kB / 0.7915 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.257e-05/0.01909, allocations: 47.47 kB / 0.7916 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007498/0.01984, allocations: 492.7 kB / 0.792 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.01995, allocations: 112.1 kB / 0.7921 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.01999, allocations: 39.66 kB / 0.7922 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.757e-05/0.02007, allocations: 19.92 kB / 0.7922 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.02009, allocations: 34.56 kB / 0.7922 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.02009, allocations: 0 / 0.7922 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0001928/0.02029, allocations: 105.6 kB / 0.7923 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.02031, allocations: 53.84 kB / 0.7924 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.02055, allocations: 376.9 kB / 0.7927 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.02057, allocations: 29.7 kB / 0.7928 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/0.02065, allocations: 185.5 kB / 0.793 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.02068, allocations: 47.56 kB / 0.793 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003183/0.021, allocations: 65.62 kB / 0.7931 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.02108, allocations: 352.2 kB / 0.7934 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.445e-05/0.02112, allocations: 35.47 kB / 0.7934 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.02126, allocations: 341.5 kB / 0.7938 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.877e-05/0.02136, allocations: 89.75 kB / 0.7938 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.02136, allocations: 2.406 kB / 0.7938 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001535/0.02152, allocations: 135.1 kB / 0.794 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.02153, allocations: 7.938 kB / 0.794 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.02154, allocations: 0 / 0.794 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.02155, allocations: 4 kB / 0.794 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.02168, allocations: 43.91 kB / 0.794 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.02168, allocations: 5.062 kB / 0.794 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.02178, allocations: 23.88 kB / 0.7941 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.0218, allocations: 4 kB / 0.7941 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.902e-05/0.02188, allocations: 110.8 kB / 0.7942 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001384/0.02202, allocations: 359.9 kB / 0.7945 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.693e-05/0.02211, allocations: 99.08 kB / 0.7946 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.02211, allocations: 3.938 kB / 0.7946 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0001412/0.02225, allocations: 146.3 kB / 0.7947 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.711e-06/0.02225, allocations: 5.094 kB / 0.7947 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.02226, allocations: 0 / 0.7947 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-06/0.02226, allocations: 7.938 kB / 0.7948 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.02236, allocations: 49 kB / 0.7948 GB, free: 0.9297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.02236, allocations: 0 / 0.7948 GB, free: 0.9297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.02247, allocations: 28.94 kB / 0.7948 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.02248, allocations: 8 kB / 0.7948 GB, free: 0.8945 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.834e-05/0.02256, allocations: 197.2 kB / 0.795 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.02259, allocations: 27.98 kB / 0.7951 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.02278, allocations: 144.3 kB / 0.7952 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.02279, allocations: 7.984 kB / 0.7952 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.02279, allocations: 1.156 kB / 0.7952 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.0228, allocations: 0 / 0.7952 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.0232, allocations: 0.4937 MB / 0.7957 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.0232, allocations: 1.844 kB / 0.7957 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.02327, allocations: 31.92 kB / 0.7957 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.02327, allocations: 0 / 0.7957 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.02328, allocations: 7.938 kB / 0.7957 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.02328, allocations: 1 kB / 0.7957 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.02328, allocations: 4 kB / 0.7957 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.02344, allocations: 290.6 kB / 0.796 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.02349, allocations: 51.64 kB / 0.7961 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.02352, allocations: 3.984 kB / 0.7961 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.711e-05/0.0236, allocations: 12 kB / 0.7961 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.02363, allocations: 15.92 kB / 0.7961 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.02364, allocations: 8.984 kB / 0.7961 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001156/0.02375, allocations: 159.5 kB / 0.7962 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.02375, allocations: 0 / 0.7962 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00035/0.0241, allocations: 193.5 kB / 0.7964 GB, free: 15.19 MB / 0.7605 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 (16): * Single equations (assignments): 14 * 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.001083/0.02519, allocations: 0.4983 MB / 0.7969 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.02541, allocations: 145 kB / 0.7971 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.02541, allocations: 4 kB / 0.7971 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.503e-05/0.02547, allocations: 50.34 kB / 0.7971 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.02594, allocations: 166.1 kB / 0.7973 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009897/0.02693, allocations: 0.6772 MB / 0.7979 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.554e-05/0.027, allocations: 110.5 kB / 0.798 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00014/0.02714, allocations: 59.94 kB / 0.7981 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.02738, allocations: 163.2 kB / 0.7982 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of SimCode: time 9.72e-07/0.02738, allocations: 4.562 kB / 0.7982 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of Templates: time 0.01091/0.03829, allocations: 8.106 MB / 0.8062 GB, free: 5.629 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.3244923572055995]