Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.0008978/0.0008978, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.0009473/0.0009473, allocations: 165.3 kB / 24.25 MB, free: 212 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.9331/0.9331, allocations: 177.2 MB / 204.7 MB, free: 5.438 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.863/1.863, allocations: 389.6 MB / 0.6355 GB, free: 12.3 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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 3.984 kB / 0.7754 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.472e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.01888/0.01889, allocations: 24.91 MB / 0.7997 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.03304, allocations: 9.997 MB / 0.8095 GB, free: 2.426 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.03499, allocations: 150.6 kB / 0.8096 GB, free: 2.277 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.03633, allocations: 0.766 MB / 0.8104 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003475/0.0398, allocations: 2.55 MB / 0.8128 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004304/0.0441, allocations: 2.908 MB / 0.8157 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.005446/0.04955, allocations: 7.084 MB / 0.8226 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.05147, allocations: 2.012 MB / 0.8246 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/0.05452, allocations: 3.383 MB / 0.8279 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.05592, allocations: 1.782 MB / 0.8296 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.05615, allocations: 248 kB / 0.8298 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.0574, allocations: 0.9801 MB / 0.8308 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004025/0.0578, allocations: 0.7392 MB / 0.8315 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006637/0.05847, allocations: 0.9898 MB / 0.8325 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.0604, allocations: 2.557 MB / 0.835 GB, free: 8.223 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.06041, allocations: 3.156 kB / 0.835 GB, free: 8.223 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.122e-06/0.06041, allocations: 3.938 kB / 0.835 GB, free: 8.219 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.06042, allocations: 0 / 0.835 GB, free: 8.219 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.002642/0.06306, allocations: 3.022 MB / 0.838 GB, free: 5.16 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.0631, allocations: 13.34 kB / 0.838 GB, free: 5.148 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/0.06352, allocations: 363.7 kB / 0.8383 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.06511, allocations: 1.479 MB / 0.8398 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.06518, allocations: 123 kB / 0.8399 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.06533, allocations: 180 kB / 0.84 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.06666, allocations: 1.363 MB / 0.8414 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.06668, allocations: 3.938 kB / 0.8414 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-05/0.06675, allocations: 68 kB / 0.8414 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/0.06679, allocations: 40 kB / 0.8415 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.06729, allocations: 407.4 kB / 0.8419 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003905/0.07119, allocations: 4.353 MB / 0.8461 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.07143, allocations: 244.5 kB / 0.8464 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.07154, allocations: 113.7 kB / 0.8465 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.07165, allocations: 40.47 kB / 0.8465 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.07167, allocations: 39.06 kB / 0.8465 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=60): time 2.605e-06/0.07167, allocations: 3.984 kB / 0.8465 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=60): time 0.000473/0.07215, allocations: 401.8 kB / 0.8469 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.07217, allocations: 59.91 kB / 0.847 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.0736, allocations: 1.655 MB / 0.8486 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.07365, allocations: 53.7 kB / 0.8486 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.07402, allocations: 0.8212 MB / 0.8495 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.07413, allocations: 226.1 kB / 0.8497 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.07432, allocations: 246.7 kB / 0.8499 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.607e-05/0.07441, allocations: 353.8 kB / 0.8502 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.07456, allocations: 116.9 kB / 0.8504 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.07498, allocations: 0.9249 MB / 0.8513 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.07544, allocations: 0.5735 MB / 0.8518 GB, free: 6.102 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.07545, allocations: 4 kB / 0.8518 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0006395/0.07609, allocations: 0.6311 MB / 0.8524 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.07611, allocations: 8 kB / 0.8524 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.07612, allocations: 8.062 kB / 0.8524 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.07613, allocations: 27.88 kB / 0.8525 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.07664, allocations: 255.6 kB / 0.8527 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.07666, allocations: 23.92 kB / 0.8527 GB, free: 5.141 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.0771, allocations: 135 kB / 0.8529 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.07715, allocations: 39.98 kB / 0.8529 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003033/0.07746, allocations: 212.4 kB / 0.8531 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004086/0.07787, allocations: 0.9331 MB / 0.854 GB, free: 3.547 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004223/0.07829, allocations: 0.5653 MB / 0.8546 GB, free: 2.863 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.07829, allocations: 4 kB / 0.8546 GB, free: 2.859 MB / 0.8073 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0008394/0.07913, allocations: 0.6375 MB / 0.8552 GB, free: 2.215 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.07914, allocations: 8 kB / 0.8552 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.07915, allocations: 8 kB / 0.8552 GB, free: 2.199 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.07915, allocations: 12 kB / 0.8552 GB, free: 2.188 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.07961, allocations: 263.5 kB / 0.8555 GB, free: 1.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.07962, allocations: 19.92 kB / 0.8555 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.08007, allocations: 107.4 kB / 0.8556 GB, free: 1.805 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.08011, allocations: 39.98 kB / 0.8556 GB, free: 1.766 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.0001289/0.08024, allocations: 248 kB / 0.8559 GB, free: 1.516 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.08037, allocations: 135.8 kB / 0.856 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005368/0.08091, allocations: 479 kB / 0.8565 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.08092, allocations: 11.94 kB / 0.8565 GB, free: 0.8984 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.08092, allocations: 0 / 0.8565 GB, free: 0.8984 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002283/0.08115, allocations: 320.1 kB / 0.8568 GB, free: 0.5547 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.08246, allocations: 1.337 MB / 0.8581 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.08246, allocations: 0 / 0.8581 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.08275, allocations: 131.8 kB / 0.8582 GB, free: 15.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.08276, allocations: 7.938 kB / 0.8582 GB, free: 15.04 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.08278, allocations: 16 kB / 0.8582 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.08279, allocations: 4 kB / 0.8582 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.08279, allocations: 0 / 0.8582 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.08335, allocations: 0.6295 MB / 0.8589 GB, free: 14.36 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.08365, allocations: 250.4 kB / 0.8591 GB, free: 14.11 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.08376, allocations: 15.94 kB / 0.8591 GB, free: 14.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.08409, allocations: 27.94 kB / 0.8591 GB, free: 14.07 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.08415, allocations: 44.41 kB / 0.8592 GB, free: 14.03 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.08418, allocations: 23.98 kB / 0.8592 GB, free: 14 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000597/0.08478, allocations: 0.8425 MB / 0.86 GB, free: 13.14 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.08478, allocations: 0 / 0.86 GB, free: 13.14 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001202/0.08598, allocations: 1.064 MB / 0.8611 GB, free: 12.08 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001096/0.08708, allocations: 0.5709 MB / 0.8616 GB, free: 11.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.08813, allocations: 0.7258 MB / 0.8623 GB, free: 10.97 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.977e-05/0.08815, allocations: 24.94 kB / 0.8623 GB, free: 10.95 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.0883, allocations: 169 kB / 0.8625 GB, free: 10.78 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.09032, allocations: 1.168 MB / 0.8637 GB, free: 9.656 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.09342, allocations: 3.24 MB / 0.8668 GB, free: 6.352 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.09368, allocations: 381.8 kB / 0.8672 GB, free: 5.953 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0007171/0.0944, allocations: 368.5 kB / 0.8675 GB, free: 5.59 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/0.09565, allocations: 0.7487 MB / 0.8683 GB, free: 4.82 MB / 0.823 GB Notification: Performance of SimCode: time 7.42e-07/0.09565, allocations: 3.938 kB / 0.8683 GB, free: 4.816 MB / 0.823 GB Notification: Performance of Templates: time 0.04566/0.1413, allocations: 43.33 MB / 0.9106 GB, free: 10.57 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.74776950199157]