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.0008965/0.0008965, allocations: 84.8 kB / 21.62 MB, free: 2.836 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.001578/0.001578, allocations: 170.9 kB / 25.05 MB, free: 8.781 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.9301/0.9301, allocations: 177.1 MB / 205.5 MB, free: 5.465 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.952/1.952, allocations: 389.6 MB / 0.6363 GB, free: 12.28 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.382e-06/1.382e-06, allocations: 0 / 0.7761 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.608e-05, allocations: 5.688 kB / 0.7761 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.00849/0.008506, allocations: 10.48 MB / 0.7864 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005176/0.01368, allocations: 4.262 MB / 0.7905 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004193/0.0141, allocations: 43.56 kB / 0.7906 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004939/0.0146, allocations: 237.9 kB / 0.7908 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.01591, allocations: 0.8686 MB / 0.7917 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.01769, allocations: 1.116 MB / 0.7927 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002617/0.0203, allocations: 3.407 MB / 0.7961 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009109/0.02121, allocations: 1.195 MB / 0.7972 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.02287, allocations: 2.036 MB / 0.7992 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002241/0.02511, allocations: 1.76 MB / 0.8009 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.0253, allocations: 92 kB / 0.801 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.02631, allocations: 0.6903 MB / 0.8017 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.02651, allocations: 310.8 kB / 0.802 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003427/0.02686, allocations: 471.8 kB / 0.8025 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.02806, allocations: 1.441 MB / 0.8039 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.02807, allocations: 1.031 kB / 0.8039 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.273e-06/0.02807, allocations: 3.938 kB / 0.8039 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.02808, allocations: 0 / 0.8039 GB, free: 8.977 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.001287/0.02936, allocations: 1.43 MB / 0.8053 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.02939, allocations: 9.344 kB / 0.8053 GB, free: 7.516 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/0.02986, allocations: 201.7 kB / 0.8055 GB, free: 7.32 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006161/0.03047, allocations: 0.5907 MB / 0.806 GB, free: 6.703 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.03051, allocations: 65.31 kB / 0.8061 GB, free: 6.637 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.03062, allocations: 88 kB / 0.8062 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.0311, allocations: 0.5179 MB / 0.8067 GB, free: 6 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.03111, allocations: 4 kB / 0.8067 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.03115, allocations: 28 kB / 0.8067 GB, free: 5.969 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.03116, allocations: 19.94 kB / 0.8067 GB, free: 5.949 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.0314, allocations: 231.9 kB / 0.807 GB, free: 5.719 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.03384, allocations: 1.779 MB / 0.8087 GB, free: 3.891 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.03408, allocations: 221 kB / 0.8089 GB, free: 3.664 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.232e-05/0.03416, allocations: 84.22 kB / 0.809 GB, free: 3.578 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.806e-05/0.03424, allocations: 24.27 kB / 0.809 GB, free: 3.555 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.03426, allocations: 38.78 kB / 0.809 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.03426, allocations: 0 / 0.809 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.0003842/0.03464, allocations: 299.7 kB / 0.8093 GB, free: 3.211 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.03468, allocations: 59.34 kB / 0.8094 GB, free: 3.141 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.03506, allocations: 0.6716 MB / 0.81 GB, free: 2.445 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/0.03513, allocations: 49.64 kB / 0.8101 GB, free: 2.391 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.03531, allocations: 375.4 kB / 0.8105 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.03537, allocations: 122.9 kB / 0.8106 GB, free: 1.895 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.03555, allocations: 202.6 kB / 0.8108 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.03562, allocations: 325.9 kB / 0.8111 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.03574, allocations: 95.27 kB / 0.8112 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000811/0.03655, allocations: 2.1 MB / 0.8132 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.03683, allocations: 308.8 kB / 0.8135 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.03683, allocations: 0 / 0.8135 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004042/0.03724, allocations: 394.7 kB / 0.8139 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.03725, allocations: 4 kB / 0.8139 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.03725, allocations: 4 kB / 0.8139 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.03726, allocations: 4 kB / 0.8139 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.03791, allocations: 243.7 kB / 0.8141 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008999/0.03881, allocations: 2.926 MB / 0.817 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009967/0.03981, allocations: 359.9 kB / 0.8173 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.03985, allocations: 20.08 kB / 0.8174 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002112/0.04006, allocations: 187.1 kB / 0.8175 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008201/0.04088, allocations: 2.116 MB / 0.8196 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003751/0.04125, allocations: 325 kB / 0.8199 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.522e-06/0.04125, allocations: 0 / 0.8199 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0004042/0.04166, allocations: 422.6 kB / 0.8203 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.04167, allocations: 8 kB / 0.8203 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.04167, allocations: 7.984 kB / 0.8203 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/0.04168, allocations: 4 kB / 0.8203 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.04212, allocations: 204.9 kB / 0.8205 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.04212, allocations: 11.94 kB / 0.8205 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.04337, allocations: 484.4 kB / 0.821 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.04339, allocations: 19.98 kB / 0.821 GB, free: 5.801 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.0001281/0.04352, allocations: 224.6 kB / 0.8212 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.04359, allocations: 55.94 kB / 0.8213 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.04399, allocations: 351.3 kB / 0.8216 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.044, allocations: 7.938 kB / 0.8216 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.044, allocations: 4 kB / 0.8216 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.04401, allocations: 3.984 kB / 0.8216 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000833/0.04484, allocations: 0.8109 MB / 0.8224 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.04485, allocations: 3.938 kB / 0.8224 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.04512, allocations: 119.8 kB / 0.8225 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.04512, allocations: 0 / 0.8225 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.04514, allocations: 16.11 kB / 0.8226 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009853/0.04612, allocations: 2.906 MB / 0.8254 GB, free: 1.141 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.04613, allocations: 4 kB / 0.8254 GB, free: 1.137 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.04641, allocations: 435.3 kB / 0.8258 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.04654, allocations: 111.2 kB / 0.8259 GB, free: 0.5703 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.04659, allocations: 8 kB / 0.8259 GB, free: 0.5625 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.04676, allocations: 19.98 kB / 0.8259 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.0468, allocations: 31.81 kB / 0.826 GB, free: 0.5117 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.04682, allocations: 7.984 kB / 0.826 GB, free: 0.5039 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001983/0.04702, allocations: 324.7 kB / 0.8263 GB, free: 176 kB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.04702, allocations: 0 / 0.8263 GB, free: 176 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006903/0.04771, allocations: 0.5067 MB / 0.8268 GB, free: 15.66 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.0002691/0.04798, allocations: 200 kB / 0.827 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008626/0.04884, allocations: 0.5934 MB / 0.8276 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.04885, allocations: 8 kB / 0.8276 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.04905, allocations: 174.3 kB / 0.8277 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.04974, allocations: 324.1 kB / 0.828 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.05133, allocations: 1.434 MB / 0.8294 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.738e-05/0.05143, allocations: 175.6 kB / 0.8296 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004045/0.05183, allocations: 161.9 kB / 0.8298 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006023/0.05243, allocations: 335 kB / 0.8301 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of SimCode: time 6.51e-07/0.05243, allocations: 3.938 kB / 0.8301 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of Templates: time 0.03004/0.08247, allocations: 22.83 MB / 0.8524 GB, free: 5.863 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.539523766376078]