Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 90] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005088/0.005088, allocations: 98.91 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 196.7 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.035/1.035, allocations: 143.3 MB / 433.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.89 kB / 0.5958 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3975, allocations: 82.02 MB / 0.6759 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1219/0.5194, allocations: 112.7 MB / 0.7859 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03221/0.5517, allocations: 20.26 MB / 0.8057 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005034/0.5567, allocations: 107.4 kB / 0.8058 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004645/0.5614, allocations: 1.281 MB / 0.807 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.5723, allocations: 3.693 MB / 0.8106 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007859/0.5802, allocations: 3.123 MB / 0.8137 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01003/0.5902, allocations: 7.213 MB / 0.8207 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004119/0.5943, allocations: 2.576 MB / 0.8233 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006433/0.6008, allocations: 2.823 MB / 0.826 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00376/0.6046, allocations: 2.128 MB / 0.8281 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007275/0.6053, allocations: 252 kB / 0.8283 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004268/0.6096, allocations: 1.65 MB / 0.8299 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.6107, allocations: 0.6889 MB / 0.8306 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002709/0.6134, allocations: 1.512 MB / 0.8321 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008252/0.6217, allocations: 4.629 MB / 0.8366 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6217, allocations: 0 / 0.8366 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6217, allocations: 0 / 0.8366 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001649/0.6219, allocations: 0 / 0.8366 GB, free: 1.129 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.008175/0.63, allocations: 3.332 MB / 0.8399 GB, free: 13.73 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.6301, allocations: 8.031 kB / 0.8399 GB, free: 13.72 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.6313, allocations: 346.3 kB / 0.8402 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004625/0.6359, allocations: 2.231 MB / 0.8424 GB, free: 11.08 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.6361, allocations: 127 kB / 0.8425 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000349/0.6364, allocations: 168 kB / 0.8427 GB, free: 10.79 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/0.6398, allocations: 1.616 MB / 0.8442 GB, free: 9.109 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.871e-05/0.6398, allocations: 4 kB / 0.8442 GB, free: 9.105 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.64, allocations: 60 kB / 0.8443 GB, free: 9.047 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/0.6401, allocations: 43.94 kB / 0.8443 GB, free: 9.004 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.6425, allocations: 1.147 MB / 0.8455 GB, free: 7.852 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.01338/0.6559, allocations: 7.942 MB / 0.8532 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009148/0.6568, allocations: 479.2 kB / 0.8537 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000551/0.6574, allocations: 323.5 kB / 0.854 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00077/0.6582, allocations: 0.7524 MB / 0.8547 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.6582, allocations: 47.12 kB / 0.8548 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.655e-06/0.6582, allocations: 3.938 kB / 0.8548 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.002365/0.6606, allocations: 0.9972 MB / 0.8557 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.6607, allocations: 55.97 kB / 0.8558 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003837/0.6645, allocations: 2.347 MB / 0.8581 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.6647, allocations: 41.7 kB / 0.8581 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.6659, allocations: 1.175 MB / 0.8593 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.6661, allocations: 218.1 kB / 0.8595 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004324/0.6666, allocations: 262.7 kB / 0.8597 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.6668, allocations: 349.9 kB / 0.8601 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000731/0.6675, allocations: 365.8 kB / 0.8604 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.6687, allocations: 0.7463 MB / 0.8611 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.6704, allocations: 0.9863 MB / 0.8621 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.6704, allocations: 4 kB / 0.8621 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002743/0.6731, allocations: 1.3 MB / 0.8634 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.6732, allocations: 8 kB / 0.8634 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.6732, allocations: 8 kB / 0.8634 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.528e-05/0.6732, allocations: 20.67 kB / 0.8634 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009907/0.6742, allocations: 247.6 kB / 0.8637 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.87e-05/0.6743, allocations: 19.94 kB / 0.8637 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.676, allocations: 170.8 kB / 0.8638 GB, free: 3.996 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.6762, allocations: 51.98 kB / 0.8639 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00171/0.6779, allocations: 0.7602 MB / 0.8646 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001139/0.679, allocations: 0.7349 MB / 0.8653 GB, free: 2.289 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00156/0.6806, allocations: 0.9523 MB / 0.8663 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.245e-05/0.6806, allocations: 7.984 kB / 0.8663 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.3853/1.066, allocations: 1.264 MB / 0.8675 GB, free: 178 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.066, allocations: 11.17 kB / 0.8675 GB, free: 178 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/1.066, allocations: 11.59 kB / 0.8675 GB, free: 178 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/1.066, allocations: 18.3 kB / 0.8676 GB, free: 178 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/1.067, allocations: 243.9 kB / 0.8678 GB, free: 178 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.693e-05/1.067, allocations: 23.78 kB / 0.8678 GB, free: 178 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.069, allocations: 120.3 kB / 0.8679 GB, free: 178 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.069, allocations: 53.5 kB / 0.868 GB, free: 178 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.0003364/1.07, allocations: 247.7 kB / 0.8682 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004255/1.07, allocations: 259.9 kB / 0.8685 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/1.072, allocations: 0.8758 MB / 0.8693 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/1.072, allocations: 10.91 kB / 0.8693 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.072, allocations: 4.625 kB / 0.8693 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/1.073, allocations: 0.685 MB / 0.87 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005245/1.079, allocations: 2.585 MB / 0.8725 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1.079, allocations: 1.844 kB / 0.8725 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/1.079, allocations: 128.5 kB / 0.8727 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/1.079, allocations: 3.984 kB / 0.8727 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/1.079, allocations: 16.95 kB / 0.8727 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/1.079, allocations: 3.25 kB / 0.8727 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.079, allocations: 6.156 kB / 0.8727 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/1.082, allocations: 1.324 MB / 0.874 GB, free: 176 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008123/1.083, allocations: 434.7 kB / 0.8744 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/1.083, allocations: 20.64 kB / 0.8744 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009156/1.084, allocations: 49.12 kB / 0.8745 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/1.084, allocations: 40.03 kB / 0.8745 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/1.084, allocations: 35.39 kB / 0.8745 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002788/1.087, allocations: 1.565 MB / 0.8761 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/1.087, allocations: 0 / 0.8761 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003845/1.091, allocations: 1.116 MB / 0.8771 GB, free: 175 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.002339/1.093, allocations: 0.782 MB / 0.8779 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0028/1.096, allocations: 1.352 MB / 0.8792 GB, free: 174.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.096, allocations: 0 / 0.8792 GB, free: 174.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000628/1.096, allocations: 332.5 kB / 0.8795 GB, free: 174.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006428/1.103, allocations: 1.388 MB / 0.8809 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006413/1.109, allocations: 3.742 MB / 0.8846 GB, free: 172 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.111, allocations: 1.593 MB / 0.8861 GB, free: 171.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002574/1.113, allocations: 0.4928 MB / 0.8866 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/1.114, allocations: 182.4 kB / 0.8868 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of SimCode: time 1.232e-06/1.114, allocations: 1.094 kB / 0.8868 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.06165/1.175, allocations: 45.15 MB / 0.9309 GB, free: 132.6 MB / 0.6856 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 480]