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.001299/0.001299, 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.001755/0.001755, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.633/1.633, allocations: 205.1 MB / 222 MB, free: 4.746 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.585/1.585, allocations: 251.6 MB / 0.5088 GB, free: 3.27 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.001632/0.001632, allocations: 63.91 kB / 0.6216 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.6885, allocations: 104.7 MB / 0.7238 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1073/0.7958, allocations: 112.5 MB / 0.8336 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04265/0.8385, allocations: 24.45 MB / 0.8575 GB, free: 3.828 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006084/0.8447, allocations: 107.1 kB / 0.8576 GB, free: 3.723 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004688/0.8494, allocations: 1.049 MB / 0.8587 GB, free: 2.668 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.8599, allocations: 3.344 MB / 0.8619 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007291/0.8672, allocations: 2.757 MB / 0.8646 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01123/0.8785, allocations: 9.413 MB / 0.8738 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003695/0.8822, allocations: 2.105 MB / 0.8759 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00606/0.8883, allocations: 2.357 MB / 0.8782 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004882/0.8932, allocations: 2.112 MB / 0.8802 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001516/0.8948, allocations: 124 kB / 0.8803 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006677/0.9015, allocations: 1.45 MB / 0.8818 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.903, allocations: 0.5678 MB / 0.8823 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003127/0.9061, allocations: 1.34 MB / 0.8836 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00747/0.9136, allocations: 4.171 MB / 0.8877 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.237e-05/0.9137, allocations: 0 / 0.8877 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9137, allocations: 0 / 0.8877 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001201/0.9138, allocations: 0 / 0.8877 GB, free: 4.824 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.006717/0.9205, allocations: 3.175 MB / 0.8908 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.9206, allocations: 12.03 kB / 0.8908 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009618/0.9216, allocations: 320.3 kB / 0.8911 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003463/0.925, allocations: 2.107 MB / 0.8932 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.352e-05/0.9252, allocations: 131 kB / 0.8933 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.9254, allocations: 167.9 kB / 0.8935 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.9283, allocations: 1.592 MB / 0.895 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.9283, allocations: 0 / 0.895 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.9285, allocations: 71.92 kB / 0.8951 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.215e-05/0.9285, allocations: 39.94 kB / 0.8951 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.9305, allocations: 1.143 MB / 0.8962 GB, free: 11.86 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.01105/0.9416, allocations: 7.829 MB / 0.9039 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/0.9424, allocations: 477.6 kB / 0.9043 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.9429, allocations: 318.9 kB / 0.9046 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006671/0.9436, allocations: 0.7602 MB / 0.9054 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.9436, allocations: 43.12 kB / 0.9054 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 4.097e-06/0.9436, allocations: 0 / 0.9054 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002216/0.9459, allocations: 0.9764 MB / 0.9064 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.9459, allocations: 55.97 kB / 0.9064 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4483/1.394, allocations: 2.255 MB / 0.9086 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002032/1.394, allocations: 45.08 kB / 0.9087 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009169/1.395, allocations: 1.153 MB / 0.9098 GB, free: 176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/1.396, allocations: 218 kB / 0.91 GB, free: 176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004976/1.396, allocations: 253.8 kB / 0.9103 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.396, allocations: 346.5 kB / 0.9106 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008162/1.397, allocations: 358 kB / 0.9109 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009594/1.398, allocations: 0.7437 MB / 0.9116 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/1.399, allocations: 0.9796 MB / 0.9126 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/1.4, allocations: 3.406 kB / 0.9126 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002547/1.402, allocations: 1.283 MB / 0.9139 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/1.402, allocations: 9.094 kB / 0.9139 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/1.402, allocations: 8.125 kB / 0.9139 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.548e-05/1.402, allocations: 15.22 kB / 0.9139 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.403, allocations: 249.6 kB / 0.9141 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.814e-05/1.403, allocations: 18.91 kB / 0.9141 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/1.405, allocations: 250.8 kB / 0.9144 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.405, allocations: 52.06 kB / 0.9144 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001528/1.407, allocations: 0.7545 MB / 0.9152 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009522/1.408, allocations: 0.7366 MB / 0.9159 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001403/1.409, allocations: 0.9456 MB / 0.9168 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.516e-06/1.409, allocations: 10.19 kB / 0.9168 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002777/1.412, allocations: 1.252 MB / 0.918 GB, free: 171.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.412, allocations: 9 kB / 0.9181 GB, free: 171.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/1.412, allocations: 9.344 kB / 0.9181 GB, free: 171.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/1.412, allocations: 13.94 kB / 0.9181 GB, free: 171.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009505/1.413, allocations: 250.3 kB / 0.9183 GB, free: 171.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/1.413, allocations: 24.2 kB / 0.9183 GB, free: 171.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/1.415, allocations: 187.1 kB / 0.9185 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-05/1.415, allocations: 49.14 kB / 0.9186 GB, free: 171.3 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.0003744/1.415, allocations: 248 kB / 0.9188 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/1.416, allocations: 233.2 kB / 0.919 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/1.418, allocations: 0.8785 MB / 0.9199 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/1.418, allocations: 7.484 kB / 0.9199 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.418, allocations: 3.062 kB / 0.9199 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001191/1.419, allocations: 0.6803 MB / 0.9206 GB, free: 170.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/1.423, allocations: 2.532 MB / 0.923 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.423, allocations: 0 / 0.923 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/1.423, allocations: 132.6 kB / 0.9232 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.423, allocations: 3.969 kB / 0.9232 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/1.423, allocations: 11.94 kB / 0.9232 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.423, allocations: 7.531 kB / 0.9232 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.423, allocations: 3.844 kB / 0.9232 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/1.425, allocations: 1.3 MB / 0.9245 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006701/1.426, allocations: 400.6 kB / 0.9248 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/1.426, allocations: 19.44 kB / 0.9249 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/1.427, allocations: 115.3 kB / 0.925 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.733e-05/1.427, allocations: 42.03 kB / 0.925 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/1.427, allocations: 25.88 kB / 0.925 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001712/1.429, allocations: 1.516 MB / 0.9265 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.429, allocations: 1.75 kB / 0.9265 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002519/1.431, allocations: 1.096 MB / 0.9276 GB, free: 167.3 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.001415/1.433, allocations: 0.7279 MB / 0.9283 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00223/1.435, allocations: 1.348 MB / 0.9296 GB, free: 166.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/1.435, allocations: 0 / 0.9296 GB, free: 166.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004468/1.435, allocations: 323.9 kB / 0.9299 GB, free: 166.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005753/1.441, allocations: 1.394 MB / 0.9313 GB, free: 165.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00546/1.447, allocations: 4.474 MB / 0.9356 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008304/1.448, allocations: 1.576 MB / 0.9372 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002245/1.45, allocations: 0.4939 MB / 0.9377 GB, free: 159 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/1.45, allocations: 171.4 kB / 0.9378 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of SimCode: time 2.355e-06/1.45, allocations: 0 / 0.9378 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.06104/1.511, allocations: 45.17 MB / 0.9819 GB, free: 114.3 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)