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.001581/0.001581, allocations: 105 kB / 20.45 MB, free: 1.5 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.001508/0.001508, allocations: 217.9 kB / 23.76 MB, free: 4.711 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.9786/0.9786, allocations: 150 MB / 463.9 MB, free: 10.55 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.002302/0.002302, allocations: 71.45 kB / 0.6425 GB, free: 9.996 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1827, allocations: 89.17 MB / 0.7296 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5255/0.7082, allocations: 114.9 MB / 0.8418 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03389/0.7421, allocations: 20.28 MB / 0.8616 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005441/0.7476, allocations: 151.3 kB / 0.8618 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004521/0.7521, allocations: 1.327 MB / 0.8631 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.7643, allocations: 3.968 MB / 0.8669 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008704/0.773, allocations: 3.214 MB / 0.8701 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.013/0.786, allocations: 7.331 MB / 0.8772 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004126/0.7901, allocations: 1.987 MB / 0.8792 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008521/0.7986, allocations: 3.152 MB / 0.8823 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004721/0.8034, allocations: 2.17 MB / 0.8844 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008312/0.8042, allocations: 252 kB / 0.8846 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005499/0.8097, allocations: 1.743 MB / 0.8863 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.811, allocations: 0.712 MB / 0.887 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002949/0.8139, allocations: 1.512 MB / 0.8885 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008941/0.8228, allocations: 4.479 MB / 0.8929 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8228, allocations: 0 / 0.8929 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8228, allocations: 0 / 0.8929 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.277e-05/0.8229, allocations: 0 / 0.8929 GB, free: 3.492 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.005992/0.8289, allocations: 3.217 MB / 0.896 GB, free: 224 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.829, allocations: 8.031 kB / 0.896 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000885/0.8298, allocations: 342 kB / 0.8963 GB, free: 15.87 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004385/0.8342, allocations: 2.135 MB / 0.8984 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.8343, allocations: 123 kB / 0.8985 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003305/0.8347, allocations: 172 kB / 0.8987 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/0.8377, allocations: 1.6 MB / 0.9003 GB, free: 11.71 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.8377, allocations: 4 kB / 0.9003 GB, free: 11.71 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.8378, allocations: 63.94 kB / 0.9003 GB, free: 11.64 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/0.8379, allocations: 47.94 kB / 0.9004 GB, free: 11.6 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.84, allocations: 1.147 MB / 0.9015 GB, free: 10.45 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.01273/0.8527, allocations: 8.056 MB / 0.9094 GB, free: 1.824 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008688/0.8536, allocations: 437.7 kB / 0.9098 GB, free: 1.391 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005808/0.8542, allocations: 302.8 kB / 0.9101 GB, free: 1.09 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000361/0.8546, allocations: 88.42 kB / 0.9102 GB, free: 1.004 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.8547, allocations: 39.06 kB / 0.9102 GB, free: 0.957 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.615e-06/0.8547, allocations: 0 / 0.9102 GB, free: 0.957 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002393/0.8571, allocations: 0.9993 MB / 0.9112 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.8571, allocations: 55.91 kB / 0.9112 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003452/0.8606, allocations: 2.31 MB / 0.9135 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.8607, allocations: 49.7 kB / 0.9135 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.8618, allocations: 1.163 MB / 0.9147 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.8621, allocations: 234 kB / 0.9149 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/0.8624, allocations: 250.8 kB / 0.9151 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8626, allocations: 345.9 kB / 0.9155 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008197/0.8634, allocations: 365.9 kB / 0.9158 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.8645, allocations: 0.7385 MB / 0.9165 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.8661, allocations: 0.9899 MB / 0.9175 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.8661, allocations: 4 kB / 0.9175 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002673/0.8688, allocations: 1.305 MB / 0.9188 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.8688, allocations: 8 kB / 0.9188 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.8688, allocations: 8 kB / 0.9188 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/0.8689, allocations: 12 kB / 0.9188 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.8699, allocations: 259.5 kB / 0.919 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.77e-05/0.8699, allocations: 19.92 kB / 0.9191 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.8713, allocations: 167 kB / 0.9192 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/0.8714, allocations: 51.98 kB / 0.9193 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001539/0.8729, allocations: 0.7563 MB / 0.92 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001116/0.8741, allocations: 0.7349 MB / 0.9207 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00148/0.8755, allocations: 0.9484 MB / 0.9217 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.438e-06/0.8755, allocations: 0 / 0.9217 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002433/0.878, allocations: 1.283 MB / 0.9229 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.878, allocations: 14.59 kB / 0.9229 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.878, allocations: 8 kB / 0.9229 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.878, allocations: 16 kB / 0.9229 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.879, allocations: 247.6 kB / 0.9232 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/0.879, allocations: 19.92 kB / 0.9232 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.8805, allocations: 127.7 kB / 0.9233 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-05/0.8805, allocations: 47.98 kB / 0.9234 GB, free: 2.84 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.0003551/0.8809, allocations: 251.9 kB / 0.9236 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/0.8813, allocations: 250.3 kB / 0.9238 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.8832, allocations: 0.8907 MB / 0.9247 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.8832, allocations: 8 kB / 0.9247 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8832, allocations: 0 / 0.9247 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/0.8844, allocations: 0.6914 MB / 0.9254 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/0.8888, allocations: 2.554 MB / 0.9279 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.8888, allocations: 4 kB / 0.9279 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/0.8894, allocations: 127.8 kB / 0.928 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.8894, allocations: 4 kB / 0.928 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.8894, allocations: 20.09 kB / 0.928 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.8894, allocations: 7.984 kB / 0.928 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.8894, allocations: 7.938 kB / 0.9281 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.8917, allocations: 1.325 MB / 0.9293 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008301/0.8925, allocations: 354.2 kB / 0.9297 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.8927, allocations: 12 kB / 0.9297 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008546/0.8936, allocations: 43.89 kB / 0.9297 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.8937, allocations: 52.34 kB / 0.9298 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.298e-05/0.8938, allocations: 31.98 kB / 0.9298 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0023/0.8961, allocations: 1.553 MB / 0.9313 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.8961, allocations: 0 / 0.9313 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0029/0.899, allocations: 1.119 MB / 0.9324 GB, free: 9.418 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.002114/0.9011, allocations: 0.7366 MB / 0.9331 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002694/0.9038, allocations: 1.28 MB / 0.9344 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.9038, allocations: 5.625 kB / 0.9344 GB, free: 7.543 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000546/0.9043, allocations: 298.8 kB / 0.9347 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005531/0.9099, allocations: 1.378 MB / 0.936 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006533/0.9164, allocations: 3.792 MB / 0.9397 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/0.9179, allocations: 1.578 MB / 0.9413 GB, free: 468 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007314/0.9187, allocations: 175.4 kB / 0.9414 GB, free: 296 kB / 0.7012 GB Notification: Performance of SimCode: time 1.203e-06/0.9187, allocations: 0 / 0.9414 GB, free: 296 kB / 0.7012 GB Notification: Performance of Templates: time 0.06602/0.9847, allocations: 39.91 MB / 0.9804 GB, free: 8.648 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: 17.89431455102749] Failed to read output from testmodel.py, exit status != 0: 0.9947863852139562 1.009838948 0.183220126 Calling exit ...