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.004235/0.004235, allocations: 104.2 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.00106/0.00106, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.9272/0.9272, allocations: 143 MB / 433.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.88 kB / 0.5955 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.361, allocations: 82.03 MB / 0.6756 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09755/0.4586, allocations: 112.7 MB / 0.7856 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02756/0.4862, allocations: 20.27 MB / 0.8054 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004844/0.4911, allocations: 107.4 kB / 0.8055 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004728/0.496, allocations: 1.281 MB / 0.8068 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008932/0.5049, allocations: 3.696 MB / 0.8104 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006727/0.5116, allocations: 3.116 MB / 0.8134 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008975/0.5206, allocations: 7.218 MB / 0.8205 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004735/0.5254, allocations: 2.572 MB / 0.823 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007215/0.5326, allocations: 2.892 MB / 0.8258 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004308/0.537, allocations: 2.128 MB / 0.8279 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.538, allocations: 252 kB / 0.8281 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/0.5421, allocations: 1.65 MB / 0.8298 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.5432, allocations: 0.6889 MB / 0.8304 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002687/0.5459, allocations: 1.512 MB / 0.8319 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006942/0.5528, allocations: 4.612 MB / 0.8364 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.5529, allocations: 0 / 0.8364 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5529, allocations: 7.938 kB / 0.8364 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.836e-05/0.553, allocations: 0 / 0.8364 GB, free: 1.371 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.004976/0.558, allocations: 3.23 MB / 0.8396 GB, free: 14.07 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.558, allocations: 12.03 kB / 0.8396 GB, free: 14.06 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006719/0.5587, allocations: 324.5 kB / 0.8399 GB, free: 13.74 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.5619, allocations: 2.209 MB / 0.842 GB, free: 11.46 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.993e-05/0.562, allocations: 131 kB / 0.8422 GB, free: 11.33 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.5622, allocations: 164 kB / 0.8423 GB, free: 11.17 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.5647, allocations: 1.612 MB / 0.8439 GB, free: 9.496 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.5647, allocations: 4 kB / 0.8439 GB, free: 9.492 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.5649, allocations: 60 kB / 0.844 GB, free: 9.434 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.34e-05/0.5649, allocations: 47.94 kB / 0.844 GB, free: 9.387 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.5668, allocations: 1.147 MB / 0.8451 GB, free: 8.234 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.009435/0.5762, allocations: 7.921 MB / 0.8529 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007676/0.577, allocations: 483.8 kB / 0.8533 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/0.5775, allocations: 329.9 kB / 0.8536 GB, free: 15 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/0.5781, allocations: 0.7524 MB / 0.8544 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.5781, allocations: 43.06 kB / 0.8544 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.335e-06/0.5781, allocations: 3.938 kB / 0.8544 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.001914/0.58, allocations: 0.9919 MB / 0.8554 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.5801, allocations: 59.97 kB / 0.8554 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/0.5829, allocations: 2.339 MB / 0.8577 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.583, allocations: 45.7 kB / 0.8578 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008416/0.5839, allocations: 1.153 MB / 0.8589 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.5841, allocations: 216.9 kB / 0.8591 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003293/0.5844, allocations: 250.7 kB / 0.8593 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5845, allocations: 353.9 kB / 0.8597 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006274/0.5852, allocations: 361.9 kB / 0.86 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.586, allocations: 0.7424 MB / 0.8608 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.5874, allocations: 0.9863 MB / 0.8617 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.5874, allocations: 0 / 0.8617 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002431/0.5898, allocations: 1.299 MB / 0.863 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.5899, allocations: 12.19 kB / 0.863 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.5899, allocations: 8 kB / 0.863 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/0.5899, allocations: 16 kB / 0.863 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009389/0.5909, allocations: 247.6 kB / 0.8633 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/0.5909, allocations: 23.92 kB / 0.8633 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.5923, allocations: 158.4 kB / 0.8634 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.477e-05/0.5924, allocations: 55.98 kB / 0.8635 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001423/0.5939, allocations: 0.7641 MB / 0.8642 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008714/0.5948, allocations: 0.7271 MB / 0.8649 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001249/0.596, allocations: 0.9561 MB / 0.8659 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.539e-06/0.596, allocations: 4 kB / 0.8659 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.00215/0.5982, allocations: 1.262 MB / 0.8671 GB, free: 396 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5982, allocations: 8 kB / 0.8671 GB, free: 388 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.5982, allocations: 8 kB / 0.8671 GB, free: 380 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.5982, allocations: 16 kB / 0.8671 GB, free: 364 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/0.5991, allocations: 247.6 kB / 0.8674 GB, free: 116 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.5991, allocations: 19.94 kB / 0.8674 GB, free: 96 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3205/0.9196, allocations: 125 kB / 0.8675 GB, free: 178.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004156/0.9201, allocations: 52.31 kB / 0.8676 GB, free: 178.5 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.0004337/0.9205, allocations: 248.3 kB / 0.8678 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/0.9216, allocations: 239.9 kB / 0.868 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.9235, allocations: 0.8826 MB / 0.8689 GB, free: 178.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.9235, allocations: 7.781 kB / 0.8689 GB, free: 178.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.9235, allocations: 0.5625 kB / 0.8689 GB, free: 178.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009534/0.9245, allocations: 0.6866 MB / 0.8696 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/0.9284, allocations: 2.594 MB / 0.8721 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.9284, allocations: 1.312 kB / 0.8721 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.9289, allocations: 124.6 kB / 0.8722 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.9289, allocations: 3.219 kB / 0.8722 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.929, allocations: 16.7 kB / 0.8722 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/0.929, allocations: 7.359 kB / 0.8723 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.929, allocations: 4.719 kB / 0.8723 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.931, allocations: 1.313 MB / 0.8735 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006038/0.9316, allocations: 421.4 kB / 0.8739 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.9319, allocations: 16.09 kB / 0.874 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009111/0.9328, allocations: 41.41 kB / 0.874 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.9329, allocations: 40.47 kB / 0.874 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.544e-05/0.933, allocations: 39.78 kB / 0.8741 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002191/0.9352, allocations: 1.568 MB / 0.8756 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9352, allocations: 0.5 kB / 0.8756 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002969/0.9382, allocations: 1.107 MB / 0.8767 GB, free: 175.6 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.001678/0.9399, allocations: 0.7769 MB / 0.8774 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00232/0.9422, allocations: 1.355 MB / 0.8788 GB, free: 175 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.9422, allocations: 1 kB / 0.8788 GB, free: 175 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004677/0.9427, allocations: 321.2 kB / 0.8791 GB, free: 174.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005196/0.9479, allocations: 1.39 MB / 0.8804 GB, free: 174.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.9525, allocations: 3.668 MB / 0.884 GB, free: 172.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009315/0.9534, allocations: 1.588 MB / 0.8856 GB, free: 172 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001759/0.9552, allocations: 0.4937 MB / 0.886 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.9556, allocations: 175 kB / 0.8862 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of SimCode: time 5.81e-07/0.9556, allocations: 0 / 0.8862 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.05551/1.011, allocations: 45.15 MB / 0.9303 GB, free: 133.5 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)