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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 106.3 kB / 18.91 MB, free: 3.164 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 193.9 kB / 22.06 MB, free: 16 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 250.7 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8252/0.8252, allocations: 128.4 MB / 434.1 MB, free: 6.18 MB / 334.1 MB [Timeout remaining time 89] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002491/0.002491, allocations: 72.09 kB / 0.6013 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1979, allocations: 83.25 MB / 0.6826 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5703/0.7683, allocations: 113.3 MB / 0.7932 GB, free: 22.21 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04595/0.8142, allocations: 20.11 MB / 0.8129 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007128/0.8213, allocations: 113.2 kB / 0.813 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006651/0.828, allocations: 1.315 MB / 0.8143 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01821/0.8462, allocations: 3.851 MB / 0.818 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008521/0.8547, allocations: 3.158 MB / 0.8211 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009689/0.8644, allocations: 7.175 MB / 0.8281 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003302/0.8677, allocations: 2.092 MB / 0.8302 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007173/0.8749, allocations: 3.068 MB / 0.8331 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00399/0.8789, allocations: 2.169 MB / 0.8353 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007942/0.8797, allocations: 254.3 kB / 0.8355 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004381/0.8841, allocations: 1.665 MB / 0.8371 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007725/0.8848, allocations: 0.7057 MB / 0.8378 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002386/0.8872, allocations: 1.505 MB / 0.8393 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008302/0.8955, allocations: 4.374 MB / 0.8436 GB, free: 13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8955, allocations: 0 / 0.8436 GB, free: 13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.434e-06/0.8955, allocations: 0 / 0.8436 GB, free: 13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001117/0.8956, allocations: 0 / 0.8436 GB, free: 13 MB / 0.5919 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.006647/0.9023, allocations: 3.284 MB / 0.8468 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.9023, allocations: 11.97 kB / 0.8468 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009681/0.9033, allocations: 334 kB / 0.8471 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004519/0.9078, allocations: 2.199 MB / 0.8493 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.9079, allocations: 127 kB / 0.8494 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002797/0.9082, allocations: 172 kB / 0.8495 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003139/0.9114, allocations: 1.608 MB / 0.8511 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/0.9114, allocations: 7.938 kB / 0.8511 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.9115, allocations: 63.94 kB / 0.8512 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.699e-05/0.9116, allocations: 44 kB / 0.8512 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.9139, allocations: 1.147 MB / 0.8523 GB, free: 4.48 MB / 0.5919 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.01391/0.9278, allocations: 8.147 MB / 0.8603 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008804/0.9287, allocations: 441.7 kB / 0.8607 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.9292, allocations: 306.9 kB / 0.861 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008595/0.9301, allocations: 0.7485 MB / 0.8617 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.9301, allocations: 43.12 kB / 0.8618 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=60): time 2.735e-06/0.9301, allocations: 0 / 0.8618 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60): time 0.00262/0.9327, allocations: 1.005 MB / 0.8628 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.9328, allocations: 55.97 kB / 0.8628 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003857/0.9366, allocations: 2.293 MB / 0.8651 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/0.9369, allocations: 49.7 kB / 0.8651 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.9381, allocations: 1.151 MB / 0.8662 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/0.9384, allocations: 218.1 kB / 0.8664 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.9388, allocations: 254.8 kB / 0.8667 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.939, allocations: 357.9 kB / 0.867 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00074/0.9397, allocations: 357.9 kB / 0.8674 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.9408, allocations: 0.7463 MB / 0.8681 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.9425, allocations: 0.9901 MB / 0.8691 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.9425, allocations: 0 / 0.8691 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003278/0.9458, allocations: 1.304 MB / 0.8703 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.9458, allocations: 8 kB / 0.8703 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.9458, allocations: 8 kB / 0.8703 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.264e-05/0.9459, allocations: 19.98 kB / 0.8704 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.9469, allocations: 247.6 kB / 0.8706 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.424e-05/0.947, allocations: 15.94 kB / 0.8706 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.949, allocations: 171.1 kB / 0.8708 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.9491, allocations: 51.98 kB / 0.8708 GB, free: 464 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001758/0.9508, allocations: 0.7563 MB / 0.8716 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001108/0.9519, allocations: 0.7388 MB / 0.8723 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001534/0.9535, allocations: 0.9448 MB / 0.8732 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.638e-06/0.9535, allocations: 3.938 kB / 0.8732 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002895/0.9564, allocations: 1.279 MB / 0.8745 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.9564, allocations: 8 kB / 0.8745 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.9564, allocations: 8 kB / 0.8745 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.9564, allocations: 16 kB / 0.8745 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009776/0.9574, allocations: 243.6 kB / 0.8747 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.9574, allocations: 19.94 kB / 0.8747 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.9594, allocations: 127.8 kB / 0.8749 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.671e-05/0.9595, allocations: 51.98 kB / 0.8749 GB, free: 11.98 MB / 0.6231 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.0004344/0.9599, allocations: 256.6 kB / 0.8752 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000549/0.9605, allocations: 242.4 kB / 0.8754 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.9625, allocations: 0.8815 MB / 0.8763 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.9625, allocations: 8 kB / 0.8763 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.9625, allocations: 0 / 0.8763 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/0.9637, allocations: 0.6931 MB / 0.8769 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004829/0.9685, allocations: 2.569 MB / 0.8794 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.9685, allocations: 0 / 0.8794 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/0.9691, allocations: 127.8 kB / 0.8796 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.9691, allocations: 8.094 kB / 0.8796 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/0.9691, allocations: 16 kB / 0.8796 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.9691, allocations: 0 / 0.8796 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.9691, allocations: 11.88 kB / 0.8796 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.9716, allocations: 1.314 MB / 0.8809 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.9726, allocations: 419.3 kB / 0.8813 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/0.9729, allocations: 19.98 kB / 0.8813 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009225/0.9738, allocations: 39.95 kB / 0.8813 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.9739, allocations: 48.44 kB / 0.8814 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/0.974, allocations: 35.98 kB / 0.8814 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002623/0.9766, allocations: 1.533 MB / 0.8829 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.9766, allocations: 0 / 0.8829 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003761/0.9804, allocations: 1.111 MB / 0.884 GB, free: 2.5 MB / 0.6231 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.002416/0.9828, allocations: 0.7533 MB / 0.8847 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00291/0.9857, allocations: 1.281 MB / 0.886 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.9857, allocations: 0 / 0.886 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000589/0.9863, allocations: 303 kB / 0.8863 GB, free: 308 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006192/0.9925, allocations: 1.384 MB / 0.8876 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006879/0.9994, allocations: 3.753 MB / 0.8913 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/1.001, allocations: 1.578 MB / 0.8928 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006959/1.001, allocations: 183.4 kB / 0.893 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of SimCode: time 8.01e-07/1.001, allocations: 0 / 0.893 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of Templates: time 0.06893/1.07, allocations: 39.77 MB / 0.9318 GB, free: 1.844 MB / 0.67 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]