Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.0009259/0.0009259, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.001062/0.001062, allocations: 164.2 kB / 24.96 MB, free: 7.703 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.9267/0.9267, allocations: 177.1 MB / 205.4 MB, free: 5.504 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.856/1.856, allocations: 389.6 MB / 0.6362 GB, free: 12.32 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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 0.776 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.386e-05, allocations: 5 kB / 0.776 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.007974/0.007988, allocations: 10.5 MB / 0.7862 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00603/0.01402, allocations: 4.261 MB / 0.7904 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009394/0.01496, allocations: 47.5 kB / 0.7904 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000525/0.01548, allocations: 243.7 kB / 0.7907 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.01693, allocations: 0.8665 MB / 0.7915 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.01877, allocations: 1.148 MB / 0.7926 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002927/0.0217, allocations: 3.388 MB / 0.7959 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.02305, allocations: 1.206 MB / 0.7971 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.02516, allocations: 2.04 MB / 0.7991 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.02724, allocations: 1.752 MB / 0.8008 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.02748, allocations: 92 kB / 0.8009 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.02851, allocations: 0.7019 MB / 0.8016 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.02872, allocations: 310.8 kB / 0.8019 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003916/0.02912, allocations: 459.8 kB / 0.8023 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.03069, allocations: 1.441 MB / 0.8037 GB, free: 9.035 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.0307, allocations: 4 kB / 0.8037 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.012e-06/0.0307, allocations: 0.5 kB / 0.8037 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.03071, allocations: 0.5938 kB / 0.8037 GB, free: 9.031 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001295/0.032, allocations: 1.433 MB / 0.8051 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.03203, allocations: 9.344 kB / 0.8051 GB, free: 7.566 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000455/0.03249, allocations: 205.3 kB / 0.8053 GB, free: 7.367 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/0.03311, allocations: 0.5807 MB / 0.8059 GB, free: 6.766 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.03314, allocations: 65.31 kB / 0.806 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.078e-05/0.03324, allocations: 92 kB / 0.8061 GB, free: 6.609 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.03371, allocations: 0.5187 MB / 0.8066 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.03372, allocations: 0 / 0.8066 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.03375, allocations: 24 kB / 0.8066 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.03376, allocations: 17.06 kB / 0.8066 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.034, allocations: 240.9 kB / 0.8068 GB, free: 5.781 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.0361, allocations: 1.772 MB / 0.8086 GB, free: 3.961 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.03632, allocations: 220.2 kB / 0.8088 GB, free: 3.734 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/0.0364, allocations: 88.2 kB / 0.8089 GB, free: 3.645 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.611e-05/0.03649, allocations: 28.27 kB / 0.8089 GB, free: 3.617 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.03651, allocations: 42.84 kB / 0.8089 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 2.244e-06/0.03651, allocations: 0 / 0.8089 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.0003918/0.0369, allocations: 303.6 kB / 0.8092 GB, free: 3.266 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.03693, allocations: 59.34 kB / 0.8093 GB, free: 3.195 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006474/0.03758, allocations: 0.6677 MB / 0.8099 GB, free: 2.504 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.464e-05/0.03764, allocations: 49.7 kB / 0.81 GB, free: 2.449 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.03782, allocations: 367.4 kB / 0.8103 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.03788, allocations: 118.9 kB / 0.8104 GB, free: 1.965 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.03807, allocations: 202.6 kB / 0.8106 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.03814, allocations: 333.8 kB / 0.8109 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.03825, allocations: 103.3 kB / 0.811 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007703/0.03902, allocations: 2.093 MB / 0.8131 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.0393, allocations: 308.8 kB / 0.8134 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.03931, allocations: 0 / 0.8134 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004101/0.03972, allocations: 394.8 kB / 0.8138 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.03973, allocations: 8 kB / 0.8138 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.03974, allocations: 0 / 0.8138 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.03975, allocations: 4 kB / 0.8138 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.04042, allocations: 231.8 kB / 0.814 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.04154, allocations: 2.93 MB / 0.8169 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009723/0.04251, allocations: 364.1 kB / 0.8172 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.04255, allocations: 23.97 kB / 0.8172 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002348/0.04279, allocations: 187.1 kB / 0.8174 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007648/0.04355, allocations: 2.119 MB / 0.8195 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002718/0.04382, allocations: 321.1 kB / 0.8198 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.497e-06/0.04383, allocations: 7.984 kB / 0.8198 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0004577/0.04429, allocations: 422.8 kB / 0.8202 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.04429, allocations: 4 kB / 0.8202 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.0443, allocations: 4 kB / 0.8202 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.05e-06/0.0443, allocations: 4 kB / 0.8202 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.04476, allocations: 208.6 kB / 0.8204 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.04476, allocations: 4 kB / 0.8204 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.04602, allocations: 488.4 kB / 0.8209 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.04605, allocations: 20 kB / 0.8209 GB, free: 5.863 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.0462, allocations: 220.6 kB / 0.8211 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.04626, allocations: 55.89 kB / 0.8211 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004391/0.0467, allocations: 355.3 kB / 0.8215 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.04671, allocations: 7.938 kB / 0.8215 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.04671, allocations: 0 / 0.8215 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.04672, allocations: 0 / 0.8215 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008947/0.04761, allocations: 0.8148 MB / 0.8223 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.04762, allocations: 3.938 kB / 0.8223 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.04789, allocations: 111.7 kB / 0.8224 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.0479, allocations: 4 kB / 0.8224 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.04791, allocations: 11.94 kB / 0.8224 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.04894, allocations: 2.914 MB / 0.8253 GB, free: 1.207 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.04894, allocations: 0 / 0.8253 GB, free: 1.207 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.04927, allocations: 439 kB / 0.8257 GB, free: 0.7461 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.04941, allocations: 103.2 kB / 0.8258 GB, free: 0.6445 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.04946, allocations: 12 kB / 0.8258 GB, free: 0.6328 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.04963, allocations: 20.17 kB / 0.8258 GB, free: 0.6133 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.04967, allocations: 31.81 kB / 0.8258 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.04969, allocations: 8 kB / 0.8258 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002102/0.0499, allocations: 328.6 kB / 0.8262 GB, free: 244 kB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0499, allocations: 0 / 0.8262 GB, free: 244 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000738/0.05064, allocations: 0.4989 MB / 0.8266 GB, free: 15.73 MB / 0.7917 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002887/0.05093, allocations: 207.8 kB / 0.8268 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009202/0.05185, allocations: 0.5898 MB / 0.8274 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.05186, allocations: 8 kB / 0.8274 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.05207, allocations: 161.2 kB / 0.8276 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007031/0.05277, allocations: 333.8 kB / 0.8279 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.0544, allocations: 1.447 MB / 0.8293 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.323e-05/0.05449, allocations: 171.6 kB / 0.8295 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000699/0.05519, allocations: 166.2 kB / 0.8296 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006587/0.05585, allocations: 335 kB / 0.83 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of SimCode: time 1.262e-06/0.05585, allocations: 0 / 0.83 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of Templates: time 0.02379/0.07964, allocations: 22.81 MB / 0.8522 GB, free: 5.957 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.472025314345956]