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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 100.7 kB / 16.41 MB, free: 5.949 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.001497/0.001497, allocations: 185.8 kB / 17.34 MB, free: 5.578 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.866/0.866, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 68.19 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1487, allocations: 82.02 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3887/0.5373, allocations: 112.9 MB / 0.7865 GB, free: 20.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0222/0.5595, allocations: 20.28 MB / 0.8063 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003583/0.5631, allocations: 105.8 kB / 0.8064 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.5659, allocations: 1.318 MB / 0.8077 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007855/0.5738, allocations: 3.893 MB / 0.8115 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005916/0.5797, allocations: 3.124 MB / 0.8146 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008539/0.5882, allocations: 7.208 MB / 0.8216 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003036/0.5913, allocations: 2.107 MB / 0.8237 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005476/0.5967, allocations: 2.89 MB / 0.8265 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004131/0.6009, allocations: 2.141 MB / 0.8286 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005455/0.6014, allocations: 256.3 kB / 0.8288 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003892/0.6053, allocations: 1.647 MB / 0.8304 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007249/0.606, allocations: 0.7197 MB / 0.8311 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.6079, allocations: 1.516 MB / 0.8326 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006682/0.6146, allocations: 4.639 MB / 0.8371 GB, free: 68 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6146, allocations: 0 / 0.8371 GB, free: 68 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6146, allocations: 0 / 0.8371 GB, free: 68 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001258/0.6147, allocations: 0 / 0.8371 GB, free: 68 kB / 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.005733/0.6204, allocations: 3.327 MB / 0.8404 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.6205, allocations: 8.031 kB / 0.8404 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007771/0.6212, allocations: 338.5 kB / 0.8407 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003702/0.6249, allocations: 2.239 MB / 0.8429 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.6251, allocations: 123 kB / 0.843 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.6253, allocations: 168 kB / 0.8432 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/0.628, allocations: 1.612 MB / 0.8448 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.6281, allocations: 4 kB / 0.8448 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.6282, allocations: 60 kB / 0.8448 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/0.6282, allocations: 47.98 kB / 0.8449 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.6303, allocations: 1.151 MB / 0.846 GB, free: 6.797 MB / 0.6075 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.01093/0.6412, allocations: 7.938 MB / 0.8537 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008055/0.642, allocations: 434.6 kB / 0.8542 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004994/0.6425, allocations: 302.9 kB / 0.8544 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/0.6433, allocations: 0.7563 MB / 0.8552 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.6433, allocations: 43.06 kB / 0.8552 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 3.937e-06/0.6433, allocations: 7.984 kB / 0.8552 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.002057/0.6454, allocations: 0.9973 MB / 0.8562 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.6454, allocations: 59.97 kB / 0.8563 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/0.6485, allocations: 2.336 MB / 0.8585 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.6486, allocations: 49.7 kB / 0.8586 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.6497, allocations: 1.171 MB / 0.8597 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.6499, allocations: 222.1 kB / 0.86 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.6503, allocations: 258.7 kB / 0.8602 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.6504, allocations: 349.9 kB / 0.8605 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006798/0.6511, allocations: 361.9 kB / 0.8609 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.6522, allocations: 0.7463 MB / 0.8616 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.6537, allocations: 0.9785 MB / 0.8626 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.6537, allocations: 4 kB / 0.8626 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002398/0.6561, allocations: 1.308 MB / 0.8638 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.6561, allocations: 8 kB / 0.8638 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.6561, allocations: 8 kB / 0.8639 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/0.6562, allocations: 19.94 kB / 0.8639 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009526/0.6571, allocations: 247.6 kB / 0.8641 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.6571, allocations: 19.92 kB / 0.8641 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.6585, allocations: 171.1 kB / 0.8643 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.6586, allocations: 51.98 kB / 0.8643 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001342/0.6599, allocations: 0.7563 MB / 0.8651 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001007/0.6609, allocations: 0.7426 MB / 0.8658 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00143/0.6624, allocations: 0.9601 MB / 0.8667 GB, free: 232 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.741e-06/0.6624, allocations: 4 kB / 0.8667 GB, free: 228 kB / 0.6231 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002274/0.6646, allocations: 1.279 MB / 0.868 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.6647, allocations: 8 kB / 0.868 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.6647, allocations: 8 kB / 0.868 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.6647, allocations: 12 kB / 0.868 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008819/0.6656, allocations: 247.6 kB / 0.8683 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/0.6656, allocations: 24.45 kB / 0.8683 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.667, allocations: 123.4 kB / 0.8684 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.667, allocations: 51.98 kB / 0.8685 GB, free: 14.47 MB / 0.6387 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.0002962/0.6673, allocations: 244.8 kB / 0.8687 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/0.6677, allocations: 250.3 kB / 0.8689 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.6695, allocations: 0.8881 MB / 0.8698 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.6695, allocations: 4 kB / 0.8698 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6695, allocations: 4 kB / 0.8698 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001071/0.6706, allocations: 0.6853 MB / 0.8705 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/0.6744, allocations: 2.593 MB / 0.873 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6744, allocations: 0 / 0.873 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.6749, allocations: 120 kB / 0.8731 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.675, allocations: 15.92 kB / 0.8731 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.675, allocations: 16 kB / 0.8731 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.675, allocations: 4 kB / 0.8731 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.675, allocations: 0 / 0.8731 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.677, allocations: 1.323 MB / 0.8744 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006372/0.6777, allocations: 435.2 kB / 0.8749 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.6779, allocations: 16 kB / 0.8749 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008712/0.6788, allocations: 43.94 kB / 0.8749 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.6789, allocations: 52.38 kB / 0.875 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.099e-05/0.679, allocations: 31.98 kB / 0.875 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002173/0.6811, allocations: 1.566 MB / 0.8765 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.6811, allocations: 0 / 0.8765 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002516/0.6837, allocations: 1.115 MB / 0.8776 GB, free: 4.902 MB / 0.6387 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.001998/0.6857, allocations: 0.7678 MB / 0.8784 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002331/0.688, allocations: 1.293 MB / 0.8796 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.688, allocations: 0 / 0.8796 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005218/0.6885, allocations: 299 kB / 0.8799 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005184/0.6937, allocations: 1.399 MB / 0.8813 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/0.6994, allocations: 3.805 MB / 0.885 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.7007, allocations: 1.586 MB / 0.8865 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004823/0.7011, allocations: 187.4 kB / 0.8867 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/0.7011, allocations: 4 kB / 0.8867 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.05712/0.7583, allocations: 40.39 MB / 0.9262 GB, free: 3.602 MB / 0.6856 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (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)