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.001483/0.001483, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001834/0.001834, allocations: 189.8 kB / 16.14 MB, free: 6.688 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.363/1.363, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.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.9745/0.9745, allocations: 143 MB / 433 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 60.05 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1735, allocations: 82.03 MB / 0.5936 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3953/0.5689, allocations: 111.9 MB / 0.7029 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03372/0.6027, allocations: 20.35 MB / 0.7228 GB, free: 3.305 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00578/0.6085, allocations: 96.12 kB / 0.7229 GB, free: 3.266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004748/0.6133, allocations: 1.047 MB / 0.7239 GB, free: 2.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01281/0.6261, allocations: 3.385 MB / 0.7272 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009045/0.6352, allocations: 2.85 MB / 0.73 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01609/0.6513, allocations: 9.529 MB / 0.7393 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004565/0.6559, allocations: 2.139 MB / 0.7414 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00841/0.6644, allocations: 2.403 MB / 0.7437 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006024/0.6704, allocations: 2.131 MB / 0.7458 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.6715, allocations: 120 kB / 0.7459 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006996/0.6785, allocations: 1.482 MB / 0.7473 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001532/0.6801, allocations: 0.5679 MB / 0.7479 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003938/0.6841, allocations: 1.371 MB / 0.7492 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009647/0.6938, allocations: 4.455 MB / 0.7536 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.6938, allocations: 0 / 0.7536 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6938, allocations: 0 / 0.7536 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000126/0.694, allocations: 0 / 0.7536 GB, free: 10.07 MB / 0.5762 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.008396/0.7024, allocations: 3.236 MB / 0.7568 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/0.7025, allocations: 12.02 kB / 0.7568 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.7037, allocations: 324.8 kB / 0.7571 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005374/0.7091, allocations: 2.166 MB / 0.7592 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.853e-05/0.7092, allocations: 123 kB / 0.7593 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/0.7095, allocations: 164 kB / 0.7595 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003906/0.7134, allocations: 1.608 MB / 0.761 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.287e-05/0.7135, allocations: 11.94 kB / 0.761 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/0.7137, allocations: 64 kB / 0.7611 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.427e-05/0.7137, allocations: 44 kB / 0.7611 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003135/0.7169, allocations: 1.147 MB / 0.7623 GB, free: 0.9805 MB / 0.5762 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.01719/0.7341, allocations: 7.885 MB / 0.77 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.7354, allocations: 478 kB / 0.7704 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007451/0.7361, allocations: 323.5 kB / 0.7707 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008615/0.737, allocations: 0.7602 MB / 0.7715 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.7371, allocations: 39.12 kB / 0.7715 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 3.927e-06/0.7371, allocations: 0 / 0.7715 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.003388/0.7405, allocations: 0.9919 MB / 0.7725 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.7406, allocations: 67.91 kB / 0.7725 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004767/0.7453, allocations: 2.312 MB / 0.7748 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002675/0.7456, allocations: 45.7 kB / 0.7748 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.7471, allocations: 1.153 MB / 0.776 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.7474, allocations: 212.9 kB / 0.7762 GB, free: 2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000526/0.7479, allocations: 258.6 kB / 0.7764 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.7481, allocations: 341.9 kB / 0.7767 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.7492, allocations: 365.9 kB / 0.7771 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.7507, allocations: 0.7424 MB / 0.7778 GB, free: 140 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/0.7529, allocations: 0.9824 MB / 0.7788 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.7529, allocations: 4 kB / 0.7788 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00384/0.7568, allocations: 1.303 MB / 0.7801 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.7568, allocations: 9.25 kB / 0.7801 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.7568, allocations: 12 kB / 0.7801 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/0.7569, allocations: 15.94 kB / 0.7801 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.7585, allocations: 251.6 kB / 0.7803 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.675e-05/0.7586, allocations: 19.92 kB / 0.7804 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003225/0.7618, allocations: 242.2 kB / 0.7806 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.762, allocations: 51.98 kB / 0.7806 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002299/0.7643, allocations: 0.7602 MB / 0.7814 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001489/0.7658, allocations: 0.7349 MB / 0.7821 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002161/0.768, allocations: 0.9578 MB / 0.783 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.127e-06/0.768, allocations: 1.016 kB / 0.783 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.003781/0.7718, allocations: 1.254 MB / 0.7843 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.7719, allocations: 8 kB / 0.7843 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.7719, allocations: 8 kB / 0.7843 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.7719, allocations: 16 kB / 0.7843 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.7734, allocations: 255.6 kB / 0.7845 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.083e-05/0.7735, allocations: 23.92 kB / 0.7846 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003196/0.7767, allocations: 191.4 kB / 0.7847 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.7768, allocations: 47.98 kB / 0.7848 GB, free: 8.602 MB / 0.6075 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.0005037/0.7773, allocations: 244 kB / 0.785 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007882/0.7781, allocations: 237 kB / 0.7852 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/0.781, allocations: 0.8909 MB / 0.7861 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.781, allocations: 11.94 kB / 0.7861 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.781, allocations: 288 / 0.7861 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001645/0.7827, allocations: 0.6891 MB / 0.7868 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006821/0.7895, allocations: 2.57 MB / 0.7893 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.7896, allocations: 0 / 0.7893 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008574/0.7904, allocations: 127.9 kB / 0.7894 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/0.7905, allocations: 8 kB / 0.7894 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.906e-05/0.7906, allocations: 19.98 kB / 0.7895 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.477e-06/0.7906, allocations: 4 kB / 0.7895 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7906, allocations: 0 / 0.7895 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003769/0.7944, allocations: 1.317 MB / 0.7907 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/0.7958, allocations: 421.9 kB / 0.7911 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004177/0.7963, allocations: 12 kB / 0.7912 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/0.7981, allocations: 108.4 kB / 0.7913 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.7982, allocations: 44.44 kB / 0.7913 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.7983, allocations: 39.97 kB / 0.7913 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003535/0.8019, allocations: 1.546 MB / 0.7928 GB, free: 164 kB / 0.6075 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8019, allocations: 0 / 0.7928 GB, free: 164 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004751/0.8067, allocations: 1.107 MB / 0.7939 GB, free: 15.05 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.00259/0.8093, allocations: 0.7456 MB / 0.7947 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004005/0.8133, allocations: 1.362 MB / 0.796 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.8133, allocations: 4 kB / 0.796 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008247/0.8142, allocations: 327 kB / 0.7963 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009628/0.8238, allocations: 1.379 MB / 0.7977 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009573/0.8334, allocations: 4.534 MB / 0.8021 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.8351, allocations: 1.59 MB / 0.8036 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00359/0.8387, allocations: 0.4968 MB / 0.8041 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006927/0.8394, allocations: 171.4 kB / 0.8043 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.8394, allocations: 0 / 0.8043 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of Templates: time 0.08305/0.9224, allocations: 45.59 MB / 0.8488 GB, free: 7.574 MB / 0.67 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)