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.001132/0.001132, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001828/0.001828, allocations: 161 kB / 24.16 MB, free: 336 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.9603/0.9603, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.99/1.99, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.253e-06/1.253e-06, allocations: 0 / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.171e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.008916/0.008938, allocations: 10.48 MB / 0.7854 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005402/0.01434, allocations: 4.27 MB / 0.7896 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004069/0.01475, allocations: 43.56 kB / 0.7897 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.01517, allocations: 238.6 kB / 0.7899 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.01633, allocations: 0.8741 MB / 0.7907 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.01786, allocations: 1.142 MB / 0.7919 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.02006, allocations: 3.388 MB / 0.7952 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008747/0.02093, allocations: 1.207 MB / 0.7963 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.0224, allocations: 2.035 MB / 0.7983 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.02425, allocations: 1.748 MB / 0.8 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.02439, allocations: 92 kB / 0.8001 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007939/0.02518, allocations: 0.7088 MB / 0.8008 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.02538, allocations: 314.8 kB / 0.8011 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.0257, allocations: 454.9 kB / 0.8015 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.02681, allocations: 1.441 MB / 0.803 GB, free: 9.055 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.02682, allocations: 7.984 kB / 0.803 GB, free: 9.047 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.313e-06/0.02682, allocations: 0 / 0.803 GB, free: 9.047 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.02683, allocations: 0 / 0.803 GB, free: 9.047 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.001313/0.02814, allocations: 1.433 MB / 0.8044 GB, free: 7.59 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.02817, allocations: 9.344 kB / 0.8044 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004531/0.02863, allocations: 192.7 kB / 0.8046 GB, free: 7.395 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.02925, allocations: 0.5916 MB / 0.8051 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.02929, allocations: 66.19 kB / 0.8052 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.02939, allocations: 96 kB / 0.8053 GB, free: 6.621 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.02987, allocations: 0.5185 MB / 0.8058 GB, free: 6.07 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.02989, allocations: 0 / 0.8058 GB, free: 6.07 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.02992, allocations: 20.66 kB / 0.8058 GB, free: 6.051 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.02993, allocations: 20 kB / 0.8058 GB, free: 6.031 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.03046, allocations: 243.8 kB / 0.8061 GB, free: 5.789 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.03256, allocations: 1.771 MB / 0.8078 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.03279, allocations: 216.2 kB / 0.808 GB, free: 3.746 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.03288, allocations: 92.2 kB / 0.8081 GB, free: 3.652 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.812e-05/0.03296, allocations: 24.27 kB / 0.8081 GB, free: 3.629 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.03298, allocations: 38.84 kB / 0.8081 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 1.343e-06/0.03298, allocations: 0 / 0.8081 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.0003996/0.03338, allocations: 307.6 kB / 0.8084 GB, free: 3.277 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.03341, allocations: 59.34 kB / 0.8085 GB, free: 3.207 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.0338, allocations: 0.6639 MB / 0.8091 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.954e-05/0.03387, allocations: 49.7 kB / 0.8092 GB, free: 2.465 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.03407, allocations: 371.3 kB / 0.8095 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.03413, allocations: 118.9 kB / 0.8097 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.03434, allocations: 202.6 kB / 0.8099 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.03441, allocations: 329.9 kB / 0.8102 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.03453, allocations: 95.28 kB / 0.8103 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008008/0.03533, allocations: 2.097 MB / 0.8123 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.03575, allocations: 312.8 kB / 0.8126 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.03576, allocations: 0 / 0.8126 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000429/0.03618, allocations: 390.8 kB / 0.813 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.0362, allocations: 10.34 kB / 0.813 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.0362, allocations: 8.125 kB / 0.813 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.03621, allocations: 4 kB / 0.813 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/0.0369, allocations: 235.6 kB / 0.8132 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.03809, allocations: 2.926 MB / 0.8161 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.03942, allocations: 364.1 kB / 0.8164 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.03948, allocations: 19.98 kB / 0.8164 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003323/0.03981, allocations: 191.1 kB / 0.8166 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008643/0.04067, allocations: 2.116 MB / 0.8187 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003344/0.04101, allocations: 329 kB / 0.819 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.507e-06/0.04101, allocations: 4 kB / 0.819 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0005433/0.04156, allocations: 414.6 kB / 0.8194 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.04157, allocations: 4 kB / 0.8194 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.04157, allocations: 4.312 kB / 0.8194 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.172e-06/0.04158, allocations: 8 kB / 0.8194 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.04211, allocations: 208.6 kB / 0.8196 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.04211, allocations: 7.984 kB / 0.8196 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.04349, allocations: 476.4 kB / 0.8201 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.04353, allocations: 23.98 kB / 0.8201 GB, free: 5.883 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.0001611/0.0437, allocations: 224.6 kB / 0.8203 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.04377, allocations: 51.95 kB / 0.8204 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.04425, allocations: 359.1 kB / 0.8207 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.04426, allocations: 11.92 kB / 0.8207 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.04427, allocations: 0 / 0.8207 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.04427, allocations: 0 / 0.8207 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009883/0.04526, allocations: 0.8109 MB / 0.8215 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.04526, allocations: 8.062 kB / 0.8215 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.04557, allocations: 111.8 kB / 0.8216 GB, free: 4.266 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.04557, allocations: 4 kB / 0.8216 GB, free: 4.262 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.04559, allocations: 4 kB / 0.8216 GB, free: 4.258 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009786/0.04657, allocations: 2.918 MB / 0.8245 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.04657, allocations: 0 / 0.8245 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.04696, allocations: 435 kB / 0.8249 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.04712, allocations: 107.2 kB / 0.825 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.04718, allocations: 8 kB / 0.825 GB, free: 0.6523 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.04736, allocations: 19.98 kB / 0.825 GB, free: 0.6328 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.04742, allocations: 35.69 kB / 0.8251 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.04744, allocations: 12 kB / 0.8251 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002432/0.04768, allocations: 332.7 kB / 0.8254 GB, free: 252 kB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04768, allocations: 0 / 0.8254 GB, free: 252 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007993/0.04848, allocations: 0.4989 MB / 0.8259 GB, free: 15.74 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.0003309/0.04881, allocations: 203.2 kB / 0.8261 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.04986, allocations: 0.5981 MB / 0.8267 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.04987, allocations: 12.12 kB / 0.8267 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.0501, allocations: 157.2 kB / 0.8268 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007682/0.05087, allocations: 336 kB / 0.8271 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.05269, allocations: 1.445 MB / 0.8286 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.05279, allocations: 171.6 kB / 0.8287 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004843/0.05327, allocations: 157.9 kB / 0.8289 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006961/0.05397, allocations: 343 kB / 0.8292 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of SimCode: time 1.062e-06/0.05397, allocations: 4 kB / 0.8292 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of Templates: time 0.02506/0.07903, allocations: 22.8 MB / 0.8515 GB, free: 5.961 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.709576162043959]