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.001993/0.001993, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.002594/0.002594, allocations: 219.4 kB / 23 MB, free: 5.004 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.988 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 1.104/1.104, allocations: 150 MB / 463.1 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 178] 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.002111/0.002111, allocations: 62.34 kB / 0.6417 GB, free: 9.906 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2324, allocations: 89.18 MB / 0.7288 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5899/0.8222, allocations: 114.9 MB / 0.8411 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03856/0.8608, allocations: 20.27 MB / 0.8608 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007998/0.8688, allocations: 152.9 kB / 0.861 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005781/0.8745, allocations: 1.326 MB / 0.8623 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0146/0.8891, allocations: 3.972 MB / 0.8662 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009586/0.8987, allocations: 3.218 MB / 0.8693 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0133/0.912, allocations: 7.328 MB / 0.8765 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00535/0.9174, allocations: 1.987 MB / 0.8784 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009521/0.9269, allocations: 3.148 MB / 0.8815 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005576/0.9325, allocations: 2.182 MB / 0.8836 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001585/0.9341, allocations: 256 kB / 0.8839 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006669/0.9407, allocations: 1.74 MB / 0.8856 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001605/0.9423, allocations: 0.7197 MB / 0.8863 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003942/0.9463, allocations: 1.501 MB / 0.8877 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.9575, allocations: 4.475 MB / 0.8921 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.9575, allocations: 0 / 0.8921 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9575, allocations: 0 / 0.8921 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001883/0.9577, allocations: 0 / 0.8921 GB, free: 3.445 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.008799/0.9665, allocations: 3.21 MB / 0.8952 GB, free: 184 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.9666, allocations: 16.03 kB / 0.8952 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.9679, allocations: 342.1 kB / 0.8956 GB, free: 15.82 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005587/0.9735, allocations: 2.131 MB / 0.8977 GB, free: 13.62 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.9736, allocations: 123 kB / 0.8978 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004667/0.9741, allocations: 168 kB / 0.8979 GB, free: 13.33 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003889/0.978, allocations: 1.608 MB / 0.8995 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.798e-05/0.978, allocations: 3.938 kB / 0.8995 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/0.9782, allocations: 67.75 kB / 0.8996 GB, free: 11.59 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.409e-05/0.9783, allocations: 47.98 kB / 0.8996 GB, free: 11.55 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/0.9809, allocations: 1.143 MB / 0.9007 GB, free: 10.4 MB / 0.67 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.01568/0.9966, allocations: 8.056 MB / 0.9086 GB, free: 1.777 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009569/0.9975, allocations: 449.6 kB / 0.909 GB, free: 1.332 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000562/0.9981, allocations: 290.8 kB / 0.9093 GB, free: 1.043 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003938/0.9985, allocations: 92.41 kB / 0.9094 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.9985, allocations: 39.06 kB / 0.9094 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 3.016e-06/0.9985, allocations: 0 / 0.9094 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002764/1.001, allocations: 0.9992 MB / 0.9104 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/1.001, allocations: 55.91 kB / 0.9105 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005452/1.007, allocations: 2.31 MB / 0.9127 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002584/1.007, allocations: 49.7 kB / 0.9128 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/1.009, allocations: 1.163 MB / 0.9139 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/1.009, allocations: 226 kB / 0.9141 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005432/1.009, allocations: 254.8 kB / 0.9144 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002014/1.01, allocations: 357.9 kB / 0.9147 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008139/1.01, allocations: 353.9 kB / 0.915 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/1.012, allocations: 0.7502 MB / 0.9158 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/1.014, allocations: 0.9783 MB / 0.9167 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/1.014, allocations: 4 kB / 0.9167 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003207/1.017, allocations: 1.3 MB / 0.918 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/1.017, allocations: 11.94 kB / 0.918 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/1.017, allocations: 12.77 kB / 0.918 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.122e-05/1.017, allocations: 16 kB / 0.918 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/1.018, allocations: 251.6 kB / 0.9183 GB, free: 7.508 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-05/1.018, allocations: 15.94 kB / 0.9183 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/1.02, allocations: 166.9 kB / 0.9184 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/1.02, allocations: 51.98 kB / 0.9185 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00188/1.022, allocations: 0.7583 MB / 0.9192 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001249/1.023, allocations: 0.7388 MB / 0.92 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00163/1.025, allocations: 0.9563 MB / 0.9209 GB, free: 4.547 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.651e-05/1.025, allocations: 11.88 kB / 0.9209 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.003306/1.028, allocations: 1.263 MB / 0.9221 GB, free: 3.262 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/1.028, allocations: 10.19 kB / 0.9221 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/1.028, allocations: 16.09 kB / 0.9222 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/1.028, allocations: 12 kB / 0.9222 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009893/1.029, allocations: 255.6 kB / 0.9224 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.879e-05/1.029, allocations: 12 kB / 0.9224 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/1.032, allocations: 131.3 kB / 0.9226 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/1.032, allocations: 51.98 kB / 0.9226 GB, free: 2.785 MB / 0.6856 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.0004247/1.032, allocations: 247.9 kB / 0.9228 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008481/1.033, allocations: 250.4 kB / 0.9231 GB, free: 2.289 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/1.035, allocations: 0.8945 MB / 0.924 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/1.035, allocations: 8 kB / 0.924 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.035, allocations: 0 / 0.924 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/1.036, allocations: 0.6913 MB / 0.9246 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005712/1.042, allocations: 2.558 MB / 0.9271 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/1.042, allocations: 0 / 0.9271 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/1.043, allocations: 123.9 kB / 0.9273 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/1.043, allocations: 4 kB / 0.9273 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/1.043, allocations: 19.98 kB / 0.9273 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/1.043, allocations: 4 kB / 0.9273 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.043, allocations: 3.938 kB / 0.9273 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/1.046, allocations: 1.329 MB / 0.9286 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.047, allocations: 346.2 kB / 0.9289 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005637/1.047, allocations: 12 kB / 0.9289 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/1.049, allocations: 51.94 kB / 0.929 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/1.049, allocations: 44.36 kB / 0.929 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.785e-05/1.049, allocations: 31.97 kB / 0.929 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003331/1.052, allocations: 1.553 MB / 0.9306 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/1.052, allocations: 0 / 0.9306 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004203/1.056, allocations: 1.119 MB / 0.9317 GB, free: 9.383 MB / 0.7012 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.002588/1.059, allocations: 0.7372 MB / 0.9324 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003066/1.062, allocations: 1.282 MB / 0.9336 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.062, allocations: 4 kB / 0.9336 GB, free: 7.504 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006259/1.063, allocations: 306.8 kB / 0.9339 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007835/1.07, allocations: 1.389 MB / 0.9353 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/1.079, allocations: 3.716 MB / 0.9389 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/1.081, allocations: 1.586 MB / 0.9405 GB, free: 488 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002857/1.084, allocations: 498.7 kB / 0.9409 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007179/1.085, allocations: 175.3 kB / 0.9411 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of SimCode: time 1.653e-06/1.085, allocations: 0 / 0.9411 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.1011/1.186, allocations: 45.59 MB / 0.9856 GB, free: 2.684 MB / 0.7481 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: 8.870423674117774] Failed to read output from testmodel.py, exit status != 0: 1.1989207840524614 1.230804991 0.26711384 Calling exit ...