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.001535/0.001535, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001676/0.001676, allocations: 215.3 kB / 22.99 MB, free: 4.977 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9763/0.9763, allocations: 149.9 MB / 463 MB, free: 10.36 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.001985/0.001985, allocations: 67.69 kB / 0.6416 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2188, allocations: 89.17 MB / 0.7286 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5812/0.8, allocations: 103.8 MB / 0.83 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03831/0.8383, allocations: 18.79 MB / 0.8483 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005529/0.8438, allocations: 156.3 kB / 0.8485 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004836/0.8487, allocations: 1.267 MB / 0.8497 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.8611, allocations: 3.953 MB / 0.8536 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008701/0.8698, allocations: 3.149 MB / 0.8566 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01253/0.8824, allocations: 7.277 MB / 0.8637 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004113/0.8865, allocations: 1.971 MB / 0.8657 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008832/0.8953, allocations: 3.158 MB / 0.8688 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004893/0.9002, allocations: 2.069 MB / 0.8708 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008834/0.9011, allocations: 259.9 kB / 0.871 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005411/0.9065, allocations: 1.427 MB / 0.8724 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001366/0.9079, allocations: 0.7237 MB / 0.8731 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002637/0.9105, allocations: 1.197 MB / 0.8743 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009085/0.9196, allocations: 4.456 MB / 0.8786 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.9196, allocations: 0 / 0.8786 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9196, allocations: 0 / 0.8786 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001056/0.9197, allocations: 0 / 0.8786 GB, free: 15.64 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.00668/0.9264, allocations: 3.213 MB / 0.8818 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.9264, allocations: 12.03 kB / 0.8818 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009555/0.9274, allocations: 337.9 kB / 0.8821 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004235/0.9316, allocations: 2.135 MB / 0.8842 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.9317, allocations: 127 kB / 0.8843 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/0.932, allocations: 168 kB / 0.8845 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/0.9351, allocations: 1.917 MB / 0.8864 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.9351, allocations: 0 / 0.8864 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.9353, allocations: 67.94 kB / 0.8864 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.9353, allocations: 47.94 kB / 0.8865 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.9375, allocations: 1.143 MB / 0.8876 GB, free: 6.211 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.01102/0.9485, allocations: 5.485 MB / 0.8929 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009427/0.9495, allocations: 442.7 kB / 0.8934 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.95, allocations: 294.8 kB / 0.8936 GB, free: 15.87 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003922/0.9504, allocations: 76.44 kB / 0.8937 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.9505, allocations: 39.06 kB / 0.8938 GB, free: 15.75 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 3.196e-06/0.9505, allocations: 0 / 0.8938 GB, free: 15.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002815/0.9533, allocations: 0.9837 MB / 0.8947 GB, free: 14.76 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.9534, allocations: 55.91 kB / 0.8948 GB, free: 14.69 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003153/0.9565, allocations: 2.072 MB / 0.8968 GB, free: 12.59 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.9567, allocations: 41.7 kB / 0.8968 GB, free: 12.55 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.9578, allocations: 1.177 MB / 0.898 GB, free: 11.36 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.958, allocations: 230 kB / 0.8982 GB, free: 11.13 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003802/0.9584, allocations: 250.8 kB / 0.8984 GB, free: 10.88 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.9586, allocations: 345.9 kB / 0.8988 GB, free: 10.54 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007183/0.9593, allocations: 357.9 kB / 0.8991 GB, free: 10.19 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.9607, allocations: 1.206 MB / 0.9003 GB, free: 8.707 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.9623, allocations: 0.9782 MB / 0.9012 GB, free: 7.613 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.9623, allocations: 4 kB / 0.9012 GB, free: 7.609 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002781/0.9651, allocations: 1.285 MB / 0.9025 GB, free: 6.316 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.9651, allocations: 8 kB / 0.9025 GB, free: 6.309 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.9651, allocations: 11.94 kB / 0.9025 GB, free: 6.297 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.9652, allocations: 12 kB / 0.9025 GB, free: 6.285 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.9662, allocations: 256.2 kB / 0.9028 GB, free: 6.035 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.601e-05/0.9662, allocations: 23.94 kB / 0.9028 GB, free: 6.012 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.9678, allocations: 131.1 kB / 0.9029 GB, free: 5.883 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.9679, allocations: 63.95 kB / 0.903 GB, free: 5.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001524/0.9694, allocations: 0.7563 MB / 0.9037 GB, free: 5.062 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00135/0.9708, allocations: 1.191 MB / 0.9049 GB, free: 3.594 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001543/0.9723, allocations: 0.9522 MB / 0.9058 GB, free: 2.527 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.574e-06/0.9723, allocations: 4 kB / 0.9058 GB, free: 2.523 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002583/0.9749, allocations: 1.252 MB / 0.907 GB, free: 1.262 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.9749, allocations: 8 kB / 0.907 GB, free: 1.254 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.975, allocations: 8 kB / 0.9071 GB, free: 1.246 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.975, allocations: 16 kB / 0.9071 GB, free: 1.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/0.9759, allocations: 251.6 kB / 0.9073 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.661e-05/0.976, allocations: 16.5 kB / 0.9073 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.9776, allocations: 123.5 kB / 0.9074 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.413e-05/0.9777, allocations: 55.98 kB / 0.9075 GB, free: 0.793 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.0004215/0.9781, allocations: 251.9 kB / 0.9077 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004048/0.9785, allocations: 218.5 kB / 0.9079 GB, free: 332 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.9804, allocations: 0.8709 MB / 0.9088 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.9804, allocations: 7.984 kB / 0.9088 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9804, allocations: 0 / 0.9088 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/0.9815, allocations: 0.6992 MB / 0.9095 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004173/0.9857, allocations: 2.177 MB / 0.9116 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.9857, allocations: 0 / 0.9116 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/0.9862, allocations: 127.9 kB / 0.9117 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.9863, allocations: 0 / 0.9117 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.9863, allocations: 16 kB / 0.9118 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-06/0.9863, allocations: 4 kB / 0.9118 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.9863, allocations: 8.031 kB / 0.9118 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.9886, allocations: 1.312 MB / 0.913 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008803/0.9895, allocations: 314.2 kB / 0.9133 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.9897, allocations: 15.98 kB / 0.9134 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008471/0.9906, allocations: 43.95 kB / 0.9134 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.9907, allocations: 44.36 kB / 0.9134 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-05/0.9908, allocations: 39.97 kB / 0.9135 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002098/0.9929, allocations: 1.366 MB / 0.9148 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9929, allocations: 3.938 kB / 0.9148 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003097/0.996, allocations: 1.169 MB / 0.916 GB, free: 7.996 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.002285/0.9982, allocations: 0.7616 MB / 0.9167 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002822/1.001, allocations: 1.286 MB / 0.918 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.001, allocations: 0 / 0.918 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006121/1.002, allocations: 306.8 kB / 0.9183 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005264/1.007, allocations: 1.169 MB / 0.9194 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00652/1.013, allocations: 3.677 MB / 0.923 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/1.015, allocations: 1.014 MB / 0.924 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001958/1.017, allocations: 464.4 kB / 0.9244 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/1.017, allocations: 171.3 kB / 0.9246 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of SimCode: time 1.052e-06/1.017, allocations: 0 / 0.9246 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of Templates: time 0.08038/1.097, allocations: 47.59 MB / 0.9711 GB, free: 420 kB / 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: 8.339705107733607] Failed to read output from testmodel.py, exit status != 0: 1.107429925352335 1.121728162 0.19883916100000001 Calling exit ...