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.000801/0.0008014, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0008858/0.0008858, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 223.3 MB / 240 MB, free: 5.395 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.8586/0.8586, allocations: 143.2 MB / 434.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002606, allocations: 12 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1272, allocations: 83.4 MB / 0.5972 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.2931/0.4204, allocations: 104.1 MB / 0.6989 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02426/0.4447, allocations: 19.1 MB / 0.7175 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/0.4477, allocations: 98.75 kB / 0.7176 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.45, allocations: 0.891 MB / 0.7185 GB, free: 9.016 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006837/0.4569, allocations: 2.869 MB / 0.7213 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005855/0.4628, allocations: 2.38 MB / 0.7236 GB, free: 5.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008683/0.4715, allocations: 8.128 MB / 0.7315 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.4738, allocations: 1.815 MB / 0.7333 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003672/0.4774, allocations: 2.241 MB / 0.7355 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.4797, allocations: 1.92 MB / 0.7374 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.4799, allocations: 96 kB / 0.7375 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.4825, allocations: 1.154 MB / 0.7386 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004334/0.4829, allocations: 493.7 kB / 0.7391 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005179/0.4835, allocations: 0.5705 MB / 0.7396 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002855/0.4863, allocations: 3.481 MB / 0.743 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4863, allocations: 0 / 0.743 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4863, allocations: 0 / 0.743 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.785e-05/0.4864, allocations: 0 / 0.743 GB, free: 7.273 MB / 0.5606 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.003524/0.4899, allocations: 2.73 MB / 0.7457 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.4899, allocations: 8.031 kB / 0.7457 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005199/0.4905, allocations: 324.2 kB / 0.746 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002758/0.4932, allocations: 2.071 MB / 0.748 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.634e-05/0.4933, allocations: 123 kB / 0.7482 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.4935, allocations: 175.8 kB / 0.7483 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.4958, allocations: 1.608 MB / 0.7499 GB, free: 48 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.4958, allocations: 4 kB / 0.7499 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.496, allocations: 60.08 kB / 0.75 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.496, allocations: 48 kB / 0.75 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.4978, allocations: 1.147 MB / 0.7511 GB, free: 14.78 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.007991/0.5058, allocations: 7.905 MB / 0.7588 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.5065, allocations: 482 kB / 0.7593 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004374/0.5069, allocations: 328.4 kB / 0.7596 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005126/0.5074, allocations: 0.7563 MB / 0.7603 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.5075, allocations: 43.06 kB / 0.7604 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 1.683e-06/0.5075, allocations: 3.938 kB / 0.7604 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001512/0.509, allocations: 0.996 MB / 0.7614 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.509, allocations: 59.97 kB / 0.7614 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/0.5115, allocations: 2.3 MB / 0.7637 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.147e-05/0.5116, allocations: 41.7 kB / 0.7637 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/0.5124, allocations: 1.153 MB / 0.7648 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.5126, allocations: 216.9 kB / 0.765 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.5126, allocations: 20 kB / 0.7651 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5127, allocations: 353.9 kB / 0.7654 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/0.5133, allocations: 334.5 kB / 0.7657 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007912/0.5141, allocations: 0.7384 MB / 0.7664 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.5148, allocations: 462.8 kB / 0.7669 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.5148, allocations: 4 kB / 0.7669 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001763/0.5166, allocations: 1.279 MB / 0.7681 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.5168, allocations: 340.5 kB / 0.7685 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5168, allocations: 8 kB / 0.7685 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.5168, allocations: 16 kB / 0.7685 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008511/0.5177, allocations: 259.6 kB / 0.7687 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.5177, allocations: 15.94 kB / 0.7687 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.5189, allocations: 250.2 kB / 0.769 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.491e-05/0.519, allocations: 51.98 kB / 0.769 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.519, allocations: 4 kB / 0.769 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001487/0.5205, allocations: 1.027 MB / 0.77 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5205, allocations: 8 kB / 0.77 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.5205, allocations: 16 kB / 0.7701 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/0.5213, allocations: 255.6 kB / 0.7703 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.5214, allocations: 15.94 kB / 0.7703 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.5224, allocations: 234.5 kB / 0.7705 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-05/0.5225, allocations: 51.98 kB / 0.7706 GB, free: 9.801 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006717/0.5232, allocations: 0.571 MB / 0.7712 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.5234, allocations: 233.1 kB / 0.7714 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.5248, allocations: 0.8988 MB / 0.7723 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.5248, allocations: 7.953 kB / 0.7723 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5249, allocations: 0 / 0.7723 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000903/0.5258, allocations: 0.6969 MB / 0.7729 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/0.5288, allocations: 2.574 MB / 0.7755 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5289, allocations: 0 / 0.7755 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/0.5293, allocations: 139.8 kB / 0.7756 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.5293, allocations: 4 kB / 0.7756 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.5294, allocations: 19.98 kB / 0.7756 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.5294, allocations: 4 kB / 0.7756 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5294, allocations: 0 / 0.7756 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.531, allocations: 1.321 MB / 0.7769 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000529/0.5316, allocations: 457.8 kB / 0.7773 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.5318, allocations: 19.95 kB / 0.7774 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00086/0.5326, allocations: 127.4 kB / 0.7775 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.5327, allocations: 40.5 kB / 0.7775 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/0.5328, allocations: 27.98 kB / 0.7775 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001744/0.5345, allocations: 1.53 MB / 0.779 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.5345, allocations: 0 / 0.779 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001988/0.5365, allocations: 1.091 MB / 0.7801 GB, free: 15.88 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001256/0.5378, allocations: 0.7383 MB / 0.7808 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.5397, allocations: 1.35 MB / 0.7821 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5397, allocations: 3.938 kB / 0.7821 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004491/0.5401, allocations: 327 kB / 0.7825 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004645/0.5448, allocations: 1.371 MB / 0.7838 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005066/0.5499, allocations: 4.427 MB / 0.7881 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009934/0.5509, allocations: 1.586 MB / 0.7897 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00157/0.5524, allocations: 0.4936 MB / 0.7902 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/0.5528, allocations: 179.3 kB / 0.7903 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.5528, allocations: 0 / 0.7903 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of Templates: time 0.06053/0.6133, allocations: 44.13 MB / 0.8334 GB, free: 9.984 MB / 0.6544 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)