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.001508/0.001508, allocations: 105.1 kB / 19.74 MB, free: 1.863 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.00161/0.00161, allocations: 213.7 kB / 23.04 MB, free: 5.016 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.9588/0.9588, allocations: 149.9 MB / 463.1 MB, free: 10.3 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.001973/0.001973, allocations: 66.39 kB / 0.6417 GB, free: 9.527 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1888, allocations: 89.17 MB / 0.7288 GB, free: 424 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5287/0.7175, allocations: 103.8 MB / 0.8301 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03412/0.7516, allocations: 18.79 MB / 0.8485 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005191/0.7568, allocations: 154.1 kB / 0.8486 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004697/0.7615, allocations: 1.278 MB / 0.8498 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01336/0.7749, allocations: 3.943 MB / 0.8537 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009215/0.7841, allocations: 3.152 MB / 0.8568 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01215/0.7962, allocations: 7.289 MB / 0.8639 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004168/0.8004, allocations: 1.955 MB / 0.8658 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008855/0.8093, allocations: 3.161 MB / 0.8689 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004806/0.8141, allocations: 2.081 MB / 0.8709 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.8152, allocations: 252 kB / 0.8712 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004679/0.8198, allocations: 1.431 MB / 0.8726 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001302/0.8211, allocations: 0.7197 MB / 0.8733 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003055/0.8242, allocations: 1.205 MB / 0.8744 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008693/0.8329, allocations: 4.457 MB / 0.8788 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8329, allocations: 0 / 0.8788 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8329, allocations: 0 / 0.8788 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001383/0.833, allocations: 4 kB / 0.8788 GB, free: 15.69 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.007162/0.8402, allocations: 3.206 MB / 0.8819 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.8402, allocations: 15.97 kB / 0.8819 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009493/0.8412, allocations: 337.9 kB / 0.8823 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00402/0.8452, allocations: 2.142 MB / 0.8844 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.8453, allocations: 123 kB / 0.8845 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.8456, allocations: 168 kB / 0.8846 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.8485, allocations: 1.917 MB / 0.8865 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/0.8485, allocations: 4 kB / 0.8865 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.8486, allocations: 71.91 kB / 0.8866 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/0.8487, allocations: 43.98 kB / 0.8866 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.8509, allocations: 1.139 MB / 0.8877 GB, free: 6.27 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.01081/0.8617, allocations: 5.481 MB / 0.8931 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008337/0.8626, allocations: 446.8 kB / 0.8935 GB, free: 224 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.8631, allocations: 293.7 kB / 0.8938 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003309/0.8634, allocations: 84.42 kB / 0.8939 GB, free: 15.85 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.8635, allocations: 51 kB / 0.8939 GB, free: 15.79 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.625e-06/0.8635, allocations: 0 / 0.8939 GB, free: 15.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002164/0.8656, allocations: 0.9643 MB / 0.8949 GB, free: 14.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.8657, allocations: 59.91 kB / 0.8949 GB, free: 14.75 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/0.8686, allocations: 2.068 MB / 0.8969 GB, free: 12.66 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.8687, allocations: 45.7 kB / 0.897 GB, free: 12.61 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.8698, allocations: 1.169 MB / 0.8981 GB, free: 11.42 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.8701, allocations: 230 kB / 0.8983 GB, free: 11.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003795/0.8704, allocations: 254.8 kB / 0.8986 GB, free: 10.94 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.8706, allocations: 345.9 kB / 0.8989 GB, free: 10.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006672/0.8713, allocations: 357.9 kB / 0.8993 GB, free: 10.25 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.8727, allocations: 1.206 MB / 0.9004 GB, free: 8.766 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.8742, allocations: 0.9861 MB / 0.9014 GB, free: 7.664 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.8742, allocations: 0 / 0.9014 GB, free: 7.664 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002514/0.8767, allocations: 1.285 MB / 0.9027 GB, free: 6.371 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.8768, allocations: 8 kB / 0.9027 GB, free: 6.363 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.8768, allocations: 8 kB / 0.9027 GB, free: 6.355 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.8768, allocations: 12 kB / 0.9027 GB, free: 6.344 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009765/0.8778, allocations: 251.6 kB / 0.9029 GB, free: 6.098 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.401e-05/0.8778, allocations: 19.92 kB / 0.9029 GB, free: 6.078 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.8791, allocations: 143.2 kB / 0.9031 GB, free: 5.938 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.8792, allocations: 51.98 kB / 0.9031 GB, free: 5.887 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001436/0.8807, allocations: 0.7563 MB / 0.9039 GB, free: 5.129 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001341/0.882, allocations: 1.195 MB / 0.905 GB, free: 3.66 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001409/0.8834, allocations: 0.9533 MB / 0.906 GB, free: 2.586 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.755e-06/0.8834, allocations: 4 kB / 0.906 GB, free: 2.582 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002382/0.8858, allocations: 1.249 MB / 0.9072 GB, free: 1.328 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.8858, allocations: 16 kB / 0.9072 GB, free: 1.312 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.8859, allocations: 8 kB / 0.9072 GB, free: 1.305 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.8859, allocations: 12.28 kB / 0.9072 GB, free: 1.293 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008968/0.8868, allocations: 247.6 kB / 0.9075 GB, free: 1.051 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/0.8868, allocations: 23.92 kB / 0.9075 GB, free: 1.027 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.8881, allocations: 127.4 kB / 0.9076 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/0.8884, allocations: 51.98 kB / 0.9076 GB, free: 0.8516 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.0004291/0.8888, allocations: 251.9 kB / 0.9079 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/0.8892, allocations: 226.5 kB / 0.9081 GB, free: 384 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.8911, allocations: 0.8689 MB / 0.909 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.8911, allocations: 8 kB / 0.909 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.8911, allocations: 0 / 0.909 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/0.8923, allocations: 0.6913 MB / 0.9096 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.8963, allocations: 2.173 MB / 0.9118 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.8964, allocations: 8.094 kB / 0.9118 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007333/0.8971, allocations: 131.8 kB / 0.9119 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.8971, allocations: 4 kB / 0.9119 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/0.8971, allocations: 15.98 kB / 0.9119 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.8971, allocations: 4 kB / 0.9119 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8971, allocations: 0 / 0.9119 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.8994, allocations: 1.304 MB / 0.9132 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006774/0.9, allocations: 314.4 kB / 0.9135 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.9003, allocations: 12 kB / 0.9135 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008311/0.9011, allocations: 51.88 kB / 0.9135 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.9012, allocations: 52.3 kB / 0.9136 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.521e-05/0.9013, allocations: 31.97 kB / 0.9136 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002029/0.9033, allocations: 1.363 MB / 0.915 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.9033, allocations: 0 / 0.915 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002717/0.906, allocations: 1.181 MB / 0.9161 GB, free: 8.047 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.00205/0.9081, allocations: 0.7363 MB / 0.9168 GB, free: 7.477 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002556/0.9106, allocations: 1.297 MB / 0.9181 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.9106, allocations: 0 / 0.9181 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005847/0.9112, allocations: 302.8 kB / 0.9184 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004649/0.9159, allocations: 1.172 MB / 0.9195 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006677/0.9226, allocations: 3.689 MB / 0.9231 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/0.9238, allocations: 1.018 MB / 0.9241 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002003/0.9258, allocations: 464.3 kB / 0.9246 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/0.9261, allocations: 160.5 kB / 0.9247 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of SimCode: time 9.51e-07/0.9261, allocations: 0 / 0.9247 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of Templates: time 0.0778/1.004, allocations: 44.06 MB / 0.9678 GB, free: 3.977 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: 7.760992230847478] Failed to read output from testmodel.py, exit status != 0: 1.0138684827834368 1.029557893 0.19316191200000002 Calling exit ...