Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001171/0.001171, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001342/0.001342, allocations: 199.4 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.591/1.591, allocations: 251.6 MB / 0.5089 GB, free: 3.152 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.91 kB / 0.6217 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6009/0.6023, allocations: 104.7 MB / 0.724 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1017/0.7041, allocations: 112.2 MB / 0.8336 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03886/0.743, allocations: 23.91 MB / 0.8569 GB, free: 4.512 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005445/0.7485, allocations: 111.1 kB / 0.857 GB, free: 4.402 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004635/0.7533, allocations: 1.096 MB / 0.8581 GB, free: 3.301 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.7649, allocations: 3.387 MB / 0.8614 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008903/0.7738, allocations: 2.783 MB / 0.8641 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01207/0.7859, allocations: 7.136 MB / 0.8711 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00514/0.7911, allocations: 2.501 MB / 0.8735 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008715/0.7998, allocations: 2.787 MB / 0.8763 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004632/0.8045, allocations: 2.178 MB / 0.8784 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008308/0.8053, allocations: 248 kB / 0.8786 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004775/0.8101, allocations: 1.634 MB / 0.8802 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.8114, allocations: 0.6773 MB / 0.8809 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002893/0.8143, allocations: 1.485 MB / 0.8823 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006806/0.8211, allocations: 4.268 MB / 0.8865 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.8211, allocations: 4 kB / 0.8865 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8212, allocations: 0 / 0.8865 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.724e-05/0.8213, allocations: 0 / 0.8865 GB, free: 6.121 MB / 0.7012 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.006397/0.8277, allocations: 3.175 MB / 0.8896 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.8277, allocations: 12.03 kB / 0.8896 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009809/0.8287, allocations: 320.3 kB / 0.8899 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/0.8326, allocations: 2.095 MB / 0.892 GB, free: 388 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/0.8327, allocations: 130.9 kB / 0.8921 GB, free: 256 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.8329, allocations: 171.9 kB / 0.8922 GB, free: 84 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003382/0.8363, allocations: 1.604 MB / 0.8938 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/0.8364, allocations: 0 / 0.8938 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.8365, allocations: 71.92 kB / 0.8939 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/0.8366, allocations: 36 kB / 0.8939 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.839, allocations: 1.147 MB / 0.895 GB, free: 13.16 MB / 0.7169 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.0136/0.8526, allocations: 7.833 MB / 0.9027 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/0.8535, allocations: 473.8 kB / 0.9031 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004878/0.854, allocations: 315 kB / 0.9034 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008209/0.8548, allocations: 0.7563 MB / 0.9042 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.8549, allocations: 47.06 kB / 0.9042 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 3.838e-06/0.8549, allocations: 0 / 0.9042 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002679/0.8576, allocations: 0.9725 MB / 0.9052 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.8576, allocations: 55.97 kB / 0.9052 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4556/1.313, allocations: 2.256 MB / 0.9074 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003303/1.314, allocations: 46.52 kB / 0.9075 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/1.315, allocations: 1.144 MB / 0.9086 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/1.315, allocations: 220.2 kB / 0.9088 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004141/1.315, allocations: 252.7 kB / 0.909 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/1.316, allocations: 350.4 kB / 0.9094 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007311/1.316, allocations: 355.3 kB / 0.9097 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.317, allocations: 0.7491 MB / 0.9104 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/1.319, allocations: 0.9801 MB / 0.9114 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/1.319, allocations: 4.141 kB / 0.9114 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002904/1.322, allocations: 1.281 MB / 0.9127 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/1.322, allocations: 10.56 kB / 0.9127 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/1.322, allocations: 8.094 kB / 0.9127 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.614e-05/1.322, allocations: 13.94 kB / 0.9127 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/1.323, allocations: 250.8 kB / 0.9129 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.874e-05/1.323, allocations: 23.22 kB / 0.913 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/1.325, allocations: 253.2 kB / 0.9132 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.325, allocations: 51.42 kB / 0.9132 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001926/1.327, allocations: 0.7502 MB / 0.914 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001213/1.328, allocations: 0.7393 MB / 0.9147 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001537/1.33, allocations: 0.9444 MB / 0.9156 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.097e-06/1.33, allocations: 7.188 kB / 0.9156 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.003049/1.333, allocations: 1.254 MB / 0.9169 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.333, allocations: 7.781 kB / 0.9169 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/1.333, allocations: 9.297 kB / 0.9169 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/1.333, allocations: 14.97 kB / 0.9169 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.334, allocations: 250 kB / 0.9171 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.504e-05/1.334, allocations: 20.56 kB / 0.9171 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/1.336, allocations: 187.5 kB / 0.9173 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/1.337, allocations: 51.45 kB / 0.9174 GB, free: 171.1 MB / 0.7169 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.0004168/1.337, allocations: 246.8 kB / 0.9176 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005237/1.338, allocations: 236.6 kB / 0.9178 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/1.34, allocations: 0.8847 MB / 0.9187 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/1.34, allocations: 8.25 kB / 0.9187 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.34, allocations: 2.734 kB / 0.9187 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001061/1.341, allocations: 0.675 MB / 0.9194 GB, free: 170 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004404/1.346, allocations: 2.527 MB / 0.9218 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.346, allocations: 1.562 kB / 0.9218 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005217/1.346, allocations: 134.2 kB / 0.922 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/1.346, allocations: 2.188 kB / 0.922 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/1.346, allocations: 14.81 kB / 0.922 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/1.346, allocations: 7.109 kB / 0.922 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.346, allocations: 1.25 kB / 0.922 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/1.348, allocations: 1.302 MB / 0.9233 GB, free: 168.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006813/1.349, allocations: 396.7 kB / 0.9236 GB, free: 167.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/1.349, allocations: 19.42 kB / 0.9237 GB, free: 167.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.35, allocations: 113.6 kB / 0.9238 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/1.35, allocations: 38.92 kB / 0.9238 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/1.35, allocations: 30.94 kB / 0.9238 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001824/1.352, allocations: 1.514 MB / 0.9253 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.352, allocations: 2.562 kB / 0.9253 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002662/1.355, allocations: 1.088 MB / 0.9264 GB, free: 167.1 MB / 0.7169 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.001499/1.356, allocations: 0.7378 MB / 0.9271 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002721/1.359, allocations: 1.438 MB / 0.9285 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.359, allocations: 0 / 0.9285 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005028/1.36, allocations: 327.4 kB / 0.9288 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005682/1.365, allocations: 1.396 MB / 0.9302 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005579/1.371, allocations: 4.481 MB / 0.9345 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007957/1.372, allocations: 1.574 MB / 0.9361 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002196/1.374, allocations: 492.5 kB / 0.9366 GB, free: 160.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003489/1.374, allocations: 179.4 kB / 0.9367 GB, free: 160 MB / 0.7169 GB Notification: Performance of SimCode: time 2.205e-06/1.374, allocations: 0 / 0.9367 GB, free: 160 MB / 0.7169 GB Notification: Performance of Templates: time 0.06407/1.438, allocations: 46.04 MB / 0.9817 GB, free: 114.7 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)