Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.001852/0.001852, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.001984/0.001984, allocations: 173.2 kB / 23.23 MB, free: 1.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 1.658/1.658, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 178] 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 3.156/3.156, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] 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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.274e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02218/0.02222, allocations: 16.2 MB / 1.017 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.008484/0.0307, allocations: 4.665 MB / 1.021 GB, free: 8.098 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007122/0.03141, allocations: 23.81 kB / 1.022 GB, free: 8.074 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.03246, allocations: 258.2 kB / 1.022 GB, free: 7.82 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.03457, allocations: 0.682 MB / 1.022 GB, free: 7.137 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.03679, allocations: 0.7624 MB / 1.023 GB, free: 6.379 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001556/0.03835, allocations: 0.9607 MB / 1.024 GB, free: 5.418 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005168/0.03887, allocations: 272.9 kB / 1.024 GB, free: 5.145 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.04001, allocations: 0.5996 MB / 1.025 GB, free: 4.543 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004601/0.04047, allocations: 263.1 kB / 1.025 GB, free: 4.285 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 7.969e-05/0.04055, allocations: 32 kB / 1.025 GB, free: 4.254 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.04191, allocations: 0.6158 MB / 1.026 GB, free: 3.637 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.0421, allocations: 143.5 kB / 1.026 GB, free: 3.496 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.04233, allocations: 155.6 kB / 1.026 GB, free: 3.344 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.04411, allocations: 0.8956 MB / 1.027 GB, free: 2.445 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.04412, allocations: 0 / 1.027 GB, free: 2.445 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.664e-06/0.04412, allocations: 0 / 1.027 GB, free: 2.445 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.04413, allocations: 0 / 1.027 GB, free: 2.445 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001461/0.04559, allocations: 0.815 MB / 1.028 GB, free: 1.598 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.04564, allocations: 17.33 kB / 1.028 GB, free: 1.582 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.04583, allocations: 60.56 kB / 1.028 GB, free: 1.523 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/0.04652, allocations: 406.2 kB / 1.028 GB, free: 1.105 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.04655, allocations: 20.88 kB / 1.028 GB, free: 1.086 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.0466, allocations: 28.38 kB / 1.028 GB, free: 1.059 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.04717, allocations: 293.2 kB / 1.029 GB, free: 0.7539 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.04718, allocations: 0 / 1.029 GB, free: 0.7539 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.04721, allocations: 8 kB / 1.029 GB, free: 0.7461 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.04722, allocations: 8 kB / 1.029 GB, free: 0.7383 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.04768, allocations: 189.8 kB / 1.029 GB, free: 0.5508 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.04966, allocations: 1.167 MB / 1.03 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.05003, allocations: 154.7 kB / 1.03 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.05022, allocations: 80.8 kB / 1.03 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/0.05151, allocations: 0.5349 MB / 1.031 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.05155, allocations: 30.56 kB / 1.031 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.05155, allocations: 0 / 1.031 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0006837/0.05223, allocations: 253.2 kB / 1.031 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.05229, allocations: 59.34 kB / 1.031 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007656/0.05306, allocations: 0.5566 MB / 1.032 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.05309, allocations: 29.7 kB / 1.032 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.05336, allocations: 268.3 kB / 1.032 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.05341, allocations: 55.53 kB / 1.032 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.05354, allocations: 69.92 kB / 1.032 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002431/0.05378, allocations: 354.8 kB / 1.032 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.05399, allocations: 85.92 kB / 1.032 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.05452, allocations: 438.1 kB / 1.033 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006087/0.05513, allocations: 235.3 kB / 1.033 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.05513, allocations: 3.938 kB / 1.033 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006461/0.05578, allocations: 313.1 kB / 1.033 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.0558, allocations: 8 kB / 1.033 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.05581, allocations: 4 kB / 1.033 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.05583, allocations: 4 kB / 1.033 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.05609, allocations: 59.91 kB / 1.033 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.05611, allocations: 11.92 kB / 1.033 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.05642, allocations: 39.77 kB / 1.033 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.05645, allocations: 12 kB / 1.033 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003527/0.05681, allocations: 220.7 kB / 1.034 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004856/0.05729, allocations: 442.3 kB / 1.034 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004493/0.05774, allocations: 235.6 kB / 1.034 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.05774, allocations: 0 / 1.034 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006318/0.05838, allocations: 307.9 kB / 1.035 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.05839, allocations: 8 kB / 1.035 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.05839, allocations: 256 / 1.035 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/0.0584, allocations: 8 kB / 1.035 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.05862, allocations: 59.91 kB / 1.035 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.05863, allocations: 4 kB / 1.035 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.05896, allocations: 51.73 kB / 1.035 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.05899, allocations: 12 kB / 1.035 GB, free: 10.02 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.000166/0.05915, allocations: 198.8 kB / 1.035 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/0.05925, allocations: 43.72 kB / 1.035 GB, free: 9.773 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006164/0.05986, allocations: 257.5 kB / 1.035 GB, free: 9.516 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.05988, allocations: 7.984 kB / 1.035 GB, free: 9.508 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.05989, allocations: 3.938 kB / 1.035 GB, free: 9.504 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.05989, allocations: 4.172 kB / 1.035 GB, free: 9.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.06101, allocations: 0.6405 MB / 1.036 GB, free: 8.812 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.06101, allocations: 7.969 kB / 1.036 GB, free: 8.805 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.06115, allocations: 39.91 kB / 1.036 GB, free: 8.766 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.611e-05/0.06117, allocations: 3.938 kB / 1.036 GB, free: 8.762 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.06118, allocations: 4 kB / 1.036 GB, free: 8.758 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.06118, allocations: 0 / 1.036 GB, free: 8.758 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.06119, allocations: 4 kB / 1.036 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.06175, allocations: 350.5 kB / 1.036 GB, free: 8.383 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.0619, allocations: 75.45 kB / 1.036 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.06195, allocations: 8 kB / 1.036 GB, free: 8.301 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.06214, allocations: 11.98 kB / 1.036 GB, free: 8.289 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.0622, allocations: 11.98 kB / 1.036 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.06222, allocations: 11.98 kB / 1.036 GB, free: 8.266 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005083/0.06273, allocations: 394.8 kB / 1.037 GB, free: 7.883 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.06273, allocations: 0 / 1.037 GB, free: 7.883 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008364/0.06357, allocations: 239.5 kB / 1.037 GB, free: 7.648 MB / 0.9948 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 (17): * Single equations (assignments): 15 * 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.002841/0.06641, allocations: 0.5053 MB / 1.037 GB, free: 7.285 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0008125/0.06722, allocations: 317.8 kB / 1.038 GB, free: 6.977 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.06722, allocations: 0 / 1.038 GB, free: 6.977 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.06742, allocations: 79.89 kB / 1.038 GB, free: 6.898 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.06853, allocations: 219.6 kB / 1.038 GB, free: 6.691 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.07003, allocations: 0.7827 MB / 1.039 GB, free: 5.867 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.07033, allocations: 250.1 kB / 1.039 GB, free: 5.598 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003263/0.07066, allocations: 91.72 kB / 1.039 GB, free: 5.504 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.376e-05/0.07075, allocations: 40.48 kB / 1.039 GB, free: 5.465 MB / 0.9948 GB Notification: Performance of SimCode: time 4.31e-07/0.07075, allocations: 0 / 1.039 GB, free: 5.465 MB / 0.9948 GB Notification: Performance of Templates: time 0.5485/0.6192, allocations: 9.966 MB / 1.049 GB, free: 82 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.00891323108226]