Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001585/0.001585, allocations: 96.42 kB / 20.45 MB, free: 1.262 MB / 14.72 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.001861/0.001861, allocations: 214.5 kB / 23.74 MB, free: 4.445 MB / 14.72 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9538/0.9538, allocations: 149.9 MB / 463.8 MB, free: 10.41 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 70.97 kB / 0.6423 GB, free: 9.699 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1918, allocations: 89.17 MB / 0.7294 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4882/0.68, allocations: 103.8 MB / 0.8307 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03226/0.7123, allocations: 18.78 MB / 0.8491 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004507/0.7168, allocations: 155 kB / 0.8492 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004382/0.7211, allocations: 1.277 MB / 0.8505 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01178/0.7329, allocations: 3.951 MB / 0.8543 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008425/0.7414, allocations: 3.15 MB / 0.8574 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01147/0.7528, allocations: 7.281 MB / 0.8645 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003789/0.7566, allocations: 1.959 MB / 0.8664 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008183/0.7648, allocations: 3.161 MB / 0.8695 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004435/0.7692, allocations: 2.077 MB / 0.8715 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007929/0.77, allocations: 256 kB / 0.8718 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004394/0.7744, allocations: 1.427 MB / 0.8732 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.7754, allocations: 0.7159 MB / 0.8739 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002325/0.7778, allocations: 1.209 MB / 0.875 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00765/0.7854, allocations: 4.448 MB / 0.8794 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7854, allocations: 3.938 kB / 0.8794 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.747e-06/0.7854, allocations: 4 kB / 0.8794 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.625e-05/0.7855, allocations: 4 kB / 0.8794 GB, free: 15.7 MB / 0.6544 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.006039/0.7916, allocations: 3.213 MB / 0.8825 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.7916, allocations: 8.031 kB / 0.8826 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008537/0.7925, allocations: 341.9 kB / 0.8829 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004322/0.7968, allocations: 2.134 MB / 0.885 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.7969, allocations: 127 kB / 0.8851 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/0.7971, allocations: 168 kB / 0.8852 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003086/0.8002, allocations: 1.913 MB / 0.8871 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.8003, allocations: 0 / 0.8871 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.8004, allocations: 67.94 kB / 0.8872 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-05/0.8005, allocations: 36 kB / 0.8872 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.8026, allocations: 1.147 MB / 0.8883 GB, free: 6.277 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.8133, allocations: 5.496 MB / 0.8937 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008787/0.8142, allocations: 434.7 kB / 0.8941 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005372/0.8147, allocations: 294.8 kB / 0.8944 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/0.8151, allocations: 84.44 kB / 0.8945 GB, free: 15.85 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.8151, allocations: 43 kB / 0.8945 GB, free: 15.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.575e-06/0.8151, allocations: 0 / 0.8945 GB, free: 15.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002194/0.8173, allocations: 0.976 MB / 0.8955 GB, free: 14.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.8174, allocations: 55.91 kB / 0.8955 GB, free: 14.75 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003634/0.821, allocations: 2.064 MB / 0.8975 GB, free: 12.66 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.00028/0.8213, allocations: 53.69 kB / 0.8976 GB, free: 12.61 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.8224, allocations: 1.169 MB / 0.8987 GB, free: 11.42 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.8227, allocations: 226 kB / 0.8989 GB, free: 11.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003932/0.8231, allocations: 254.8 kB / 0.8992 GB, free: 10.95 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.8233, allocations: 349.9 kB / 0.8995 GB, free: 10.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007136/0.824, allocations: 361.9 kB / 0.8999 GB, free: 10.24 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.8253, allocations: 1.202 MB / 0.901 GB, free: 8.766 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.8269, allocations: 0.9743 MB / 0.902 GB, free: 7.676 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.8269, allocations: 4 kB / 0.902 GB, free: 7.672 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002504/0.8294, allocations: 1.285 MB / 0.9033 GB, free: 6.379 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.8294, allocations: 8 kB / 0.9033 GB, free: 6.371 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.8294, allocations: 8 kB / 0.9033 GB, free: 6.363 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/0.8294, allocations: 16 kB / 0.9033 GB, free: 6.348 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009972/0.8304, allocations: 251.6 kB / 0.9035 GB, free: 6.102 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-05/0.8305, allocations: 19.94 kB / 0.9035 GB, free: 6.082 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.8319, allocations: 147.2 kB / 0.9037 GB, free: 5.938 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/0.832, allocations: 59.86 kB / 0.9037 GB, free: 5.879 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001426/0.8334, allocations: 0.7563 MB / 0.9045 GB, free: 5.121 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001278/0.8347, allocations: 1.194 MB / 0.9056 GB, free: 3.648 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001457/0.8361, allocations: 0.9484 MB / 0.9066 GB, free: 2.586 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.016e-05/0.8361, allocations: 4 kB / 0.9066 GB, free: 2.582 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002333/0.8385, allocations: 1.244 MB / 0.9078 GB, free: 1.328 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.8385, allocations: 14.66 kB / 0.9078 GB, free: 1.316 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.8385, allocations: 8 kB / 0.9078 GB, free: 1.309 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.8385, allocations: 16 kB / 0.9078 GB, free: 1.293 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009343/0.8394, allocations: 243.6 kB / 0.9081 GB, free: 1.055 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.8395, allocations: 19.94 kB / 0.9081 GB, free: 1.035 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.8409, allocations: 131.4 kB / 0.9082 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/0.841, allocations: 48 kB / 0.9082 GB, free: 0.8594 MB / 0.67 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.0003272/0.8413, allocations: 255.9 kB / 0.9085 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004417/0.8418, allocations: 214.6 kB / 0.9087 GB, free: 400 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.8436, allocations: 0.8738 MB / 0.9095 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.8436, allocations: 11.98 kB / 0.9096 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.8436, allocations: 0 / 0.9096 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/0.8448, allocations: 0.6875 MB / 0.9102 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/0.8491, allocations: 2.185 MB / 0.9124 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.8491, allocations: 4.094 kB / 0.9124 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005676/0.8496, allocations: 127.8 kB / 0.9125 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.8496, allocations: 4 kB / 0.9125 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.583e-05/0.8497, allocations: 16.19 kB / 0.9125 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.8497, allocations: 4 kB / 0.9125 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.8497, allocations: 0 / 0.9125 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.852, allocations: 1.316 MB / 0.9138 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008804/0.8528, allocations: 318.3 kB / 0.9141 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003276/0.8532, allocations: 12 kB / 0.9141 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008983/0.8541, allocations: 39.95 kB / 0.9142 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.8542, allocations: 52.28 kB / 0.9142 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/0.8543, allocations: 31.98 kB / 0.9142 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002189/0.8564, allocations: 1.37 MB / 0.9156 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8564, allocations: 0 / 0.9156 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002972/0.8594, allocations: 1.173 MB / 0.9167 GB, free: 8.055 MB / 0.6856 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.00221/0.8616, allocations: 0.7465 MB / 0.9174 GB, free: 7.48 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002668/0.8643, allocations: 1.293 MB / 0.9187 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.8643, allocations: 0 / 0.9187 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005578/0.8649, allocations: 298.8 kB / 0.919 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005321/0.8702, allocations: 1.173 MB / 0.9201 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007113/0.8773, allocations: 3.742 MB / 0.9238 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.8785, allocations: 1.018 MB / 0.9248 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006097/0.8791, allocations: 171.4 kB / 0.925 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of SimCode: time 1.232e-06/0.8791, allocations: 0 / 0.925 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of Templates: time 0.06412/0.9432, allocations: 38.2 MB / 0.9623 GB, free: 9.793 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.001927992794663] Failed to read output from testmodel.py, exit status != 0: 0.9536389717832208 0.968403828 0.17964109 Calling exit ...