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.001282/0.001282, allocations: 105.7 kB / 16.41 MB, free: 6.5 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.001114/0.001114, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.16 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.8134/0.8134, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 68.98 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4012/0.5369, allocations: 112.7 MB / 0.7863 GB, free: 20.87 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02386/0.5608, allocations: 20.27 MB / 0.8061 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004417/0.5653, allocations: 109.6 kB / 0.8062 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.5685, allocations: 1.264 MB / 0.8075 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008592/0.5772, allocations: 3.704 MB / 0.8111 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006313/0.5835, allocations: 3.128 MB / 0.8141 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009165/0.5927, allocations: 7.21 MB / 0.8212 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003399/0.5961, allocations: 2.568 MB / 0.8237 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005846/0.6019, allocations: 2.898 MB / 0.8265 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003504/0.6055, allocations: 2.132 MB / 0.8286 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000506/0.606, allocations: 255.3 kB / 0.8288 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003696/0.6097, allocations: 1.646 MB / 0.8304 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006058/0.6103, allocations: 0.6889 MB / 0.8311 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.612, allocations: 1.508 MB / 0.8326 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005624/0.6176, allocations: 4.618 MB / 0.8371 GB, free: 72 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6177, allocations: 3.938 kB / 0.8371 GB, free: 68 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6177, allocations: 0 / 0.8371 GB, free: 68 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.746e-05/0.6177, 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.004881/0.6226, allocations: 3.234 MB / 0.8403 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.6227, allocations: 12.03 kB / 0.8403 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006947/0.6234, allocations: 324.8 kB / 0.8406 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003355/0.6267, allocations: 2.202 MB / 0.8427 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.963e-05/0.6268, allocations: 131 kB / 0.8429 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.627, allocations: 168 kB / 0.843 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.6294, allocations: 1.608 MB / 0.8446 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.6294, allocations: 0 / 0.8446 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.6296, allocations: 64 kB / 0.8446 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/0.6296, allocations: 43.98 kB / 0.8447 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.6314, allocations: 1.155 MB / 0.8458 GB, free: 6.93 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.009555/0.641, allocations: 7.92 MB / 0.8535 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007056/0.6417, allocations: 470.6 kB / 0.854 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.6422, allocations: 326.9 kB / 0.8543 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005655/0.6428, allocations: 0.7563 MB / 0.855 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.6428, allocations: 47.12 kB / 0.8551 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 3.477e-06/0.6428, allocations: 0 / 0.8551 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.001917/0.6447, allocations: 0.988 MB / 0.8561 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.6448, allocations: 55.97 kB / 0.8561 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/0.6475, allocations: 2.335 MB / 0.8584 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.6477, allocations: 49.7 kB / 0.8584 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008529/0.6485, allocations: 1.161 MB / 0.8596 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.6488, allocations: 217 kB / 0.8598 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/0.6491, allocations: 258.5 kB / 0.86 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6492, allocations: 341.9 kB / 0.8603 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/0.6498, allocations: 361.9 kB / 0.8607 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000873/0.6507, allocations: 0.7541 MB / 0.8614 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.652, allocations: 0.9746 MB / 0.8624 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.652, allocations: 4 kB / 0.8624 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002295/0.6543, allocations: 1.291 MB / 0.8636 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.6544, allocations: 8 kB / 0.8637 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.6544, allocations: 8.781 kB / 0.8637 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.6544, allocations: 19.94 kB / 0.8637 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009194/0.6554, allocations: 255.8 kB / 0.8639 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.656e-05/0.6554, allocations: 15.94 kB / 0.8639 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.6569, allocations: 162.4 kB / 0.8641 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.657, allocations: 51.98 kB / 0.8641 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001548/0.6586, allocations: 0.757 MB / 0.8649 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009992/0.6596, allocations: 0.7466 MB / 0.8656 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001402/0.661, allocations: 0.9523 MB / 0.8665 GB, free: 380 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.174e-05/0.661, allocations: 4 kB / 0.8665 GB, free: 376 kB / 0.6231 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002595/0.6636, allocations: 1.258 MB / 0.8678 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.6637, allocations: 9.875 kB / 0.8678 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.6637, allocations: 12.09 kB / 0.8678 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6637, allocations: 12 kB / 0.8678 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008813/0.6646, allocations: 251.6 kB / 0.868 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.66e-05/0.6646, allocations: 23.92 kB / 0.8681 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.6663, allocations: 119.2 kB / 0.8682 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.295e-05/0.6664, allocations: 55.98 kB / 0.8682 GB, free: 14.63 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.0002945/0.6667, allocations: 248 kB / 0.8685 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006262/0.6674, allocations: 236.9 kB / 0.8687 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.6692, allocations: 0.8935 MB / 0.8696 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.6693, allocations: 8 kB / 0.8696 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.6693, allocations: 0 / 0.8696 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009572/0.6702, allocations: 0.6814 MB / 0.8702 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004764/0.675, allocations: 2.589 MB / 0.8728 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.675, allocations: 0 / 0.8728 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.6756, allocations: 127.9 kB / 0.8729 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.6756, allocations: 4 kB / 0.8729 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.6756, allocations: 19.94 kB / 0.8729 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.6757, allocations: 4 kB / 0.8729 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.6757, allocations: 0 / 0.8729 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.6778, allocations: 1.31 MB / 0.8742 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009124/0.6787, allocations: 421.9 kB / 0.8746 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004216/0.6791, allocations: 15.94 kB / 0.8746 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.6803, allocations: 52.17 kB / 0.8747 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.6804, allocations: 48.38 kB / 0.8747 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-05/0.6805, allocations: 27.98 kB / 0.8747 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002458/0.6829, allocations: 1.569 MB / 0.8763 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6829, allocations: 0 / 0.8763 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003098/0.686, allocations: 1.107 MB / 0.8774 GB, free: 5.094 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.001741/0.6878, allocations: 0.7599 MB / 0.8781 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002447/0.6902, allocations: 1.366 MB / 0.8794 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6903, allocations: 0 / 0.8794 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005073/0.6908, allocations: 320.5 kB / 0.8797 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005457/0.6962, allocations: 1.394 MB / 0.8811 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006211/0.7025, allocations: 3.729 MB / 0.8847 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.7038, allocations: 1.59 MB / 0.8863 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/0.7044, allocations: 191.3 kB / 0.8865 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of SimCode: time 8.92e-07/0.7044, allocations: 0 / 0.8865 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.05404/0.7585, allocations: 40.22 MB / 0.9258 GB, free: 3.961 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)