Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.411/1.411, allocations: 288.4 MB / 303.6 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008314/0.0008314, allocations: 186.2 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.102/1.102, allocations: 205.4 MB / 0.631 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008736/0.0008734, allocations: 86.3 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 12.81 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3738/0.5112, allocations: 104.6 MB / 1.082 GB, free: 31.13 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02413/0.5354, allocations: 22.78 MB / 1.105 GB, free: 30.62 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.5379, allocations: 104.6 kB / 1.105 GB, free: 30.62 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.5398, allocations: 0.8935 MB / 1.106 GB, free: 30.61 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006026/0.5458, allocations: 3.053 MB / 1.109 GB, free: 29.85 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006163/0.552, allocations: 2.362 MB / 1.111 GB, free: 29.11 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007382/0.5594, allocations: 8.101 MB / 1.119 GB, free: 25.95 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/0.5615, allocations: 2.042 MB / 1.121 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.5646, allocations: 2.274 MB / 1.123 GB, free: 24.31 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.5663, allocations: 1.904 MB / 1.125 GB, free: 23.71 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.5665, allocations: 89.59 kB / 1.125 GB, free: 23.71 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.5691, allocations: 1.357 MB / 1.126 GB, free: 23.36 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.5695, allocations: 498.9 kB / 1.127 GB, free: 23.14 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009699/0.5705, allocations: 1.254 MB / 1.128 GB, free: 22.42 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002233/0.5727, allocations: 3.289 MB / 1.131 GB, free: 20.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5727, allocations: 5.031 kB / 1.131 GB, free: 20.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5727, allocations: 0 / 1.131 GB, free: 20.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.426e-05/0.5728, allocations: 0 / 1.131 GB, free: 20.29 MB / 0.6823 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.003142/0.5759, allocations: 2.642 MB / 1.134 GB, free: 18.37 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.5759, allocations: 12.11 kB / 1.134 GB, free: 18.37 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001967/0.5761, allocations: 219.7 kB / 1.134 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004744/0.5766, allocations: 325.3 kB / 1.134 GB, free: 18.03 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.5791, allocations: 2.117 MB / 1.136 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-05/0.5792, allocations: 123.3 kB / 1.136 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.5794, allocations: 176.3 kB / 1.137 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.5815, allocations: 1.602 MB / 1.138 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.5816, allocations: 5.156 kB / 1.138 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.5817, allocations: 67.19 kB / 1.138 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.002e-05/0.5817, allocations: 38.41 kB / 1.138 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.5834, allocations: 1.145 MB / 1.139 GB, free: 14.73 MB / 0.6823 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.006933/0.5903, allocations: 7.881 MB / 1.147 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.591, allocations: 486.1 kB / 1.148 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/0.5914, allocations: 329.2 kB / 1.148 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003735/0.5918, allocations: 0.7549 MB / 1.149 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.5918, allocations: 42.59 kB / 1.149 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 1.673e-06/0.5918, allocations: 0 / 1.149 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.001432/0.5933, allocations: 0.9914 MB / 1.15 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.5933, allocations: 62.66 kB / 1.15 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.5953, allocations: 2.239 MB / 1.152 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.5954, allocations: 52.58 kB / 1.152 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005613/0.596, allocations: 1.143 MB / 1.153 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.5961, allocations: 213.8 kB / 1.153 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.5961, allocations: 25.09 kB / 1.153 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.5962, allocations: 344.5 kB / 1.154 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/0.5967, allocations: 350.4 kB / 1.154 GB, free: 3.215 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/0.5973, allocations: 0.7343 MB / 1.155 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.5984, allocations: 0.9688 MB / 1.156 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5984, allocations: 2.594 kB / 1.156 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001536/0.5999, allocations: 1.267 MB / 1.157 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/0.6, allocations: 344.9 kB / 1.157 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.6, allocations: 13.91 kB / 1.157 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.6, allocations: 12.38 kB / 1.157 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/0.6009, allocations: 261.5 kB / 1.157 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.6009, allocations: 16.66 kB / 1.157 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.6022, allocations: 260.3 kB / 1.158 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-05/0.6023, allocations: 56.7 kB / 1.158 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.149e-06/0.6023, allocations: 3.375 kB / 1.158 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001283/0.6036, allocations: 1.024 MB / 1.159 GB, free: 64 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6036, allocations: 10.09 kB / 1.159 GB, free: 64 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.6037, allocations: 13.19 kB / 1.159 GB, free: 64 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007417/0.6044, allocations: 253 kB / 1.159 GB, free: 4 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.6044, allocations: 16.19 kB / 1.159 GB, free: 0 / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.6056, allocations: 225.7 kB / 1.159 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.6057, allocations: 51.61 kB / 1.159 GB, free: 15.86 MB / 0.698 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.0006395/0.6063, allocations: 0.5723 MB / 1.16 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.6066, allocations: 239 kB / 1.16 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.6079, allocations: 0.8832 MB / 1.161 GB, free: 14.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.6079, allocations: 9.766 kB / 1.161 GB, free: 14.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.608, allocations: 0 / 1.161 GB, free: 14.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008648/0.6088, allocations: 0.6912 MB / 1.162 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.6118, allocations: 2.558 MB / 1.164 GB, free: 12.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.6118, allocations: 7.297 kB / 1.164 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.6123, allocations: 124 kB / 1.164 GB, free: 12.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.6123, allocations: 5.844 kB / 1.164 GB, free: 12.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.6124, allocations: 18.45 kB / 1.164 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6124, allocations: 1.5 kB / 1.164 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6124, allocations: 2.125 kB / 1.164 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.614, allocations: 1.332 MB / 1.166 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/0.6145, allocations: 442 kB / 1.166 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.6147, allocations: 11.25 kB / 1.166 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009889/0.6157, allocations: 121.1 kB / 1.166 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.6158, allocations: 44.41 kB / 1.166 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.438e-05/0.6158, allocations: 39.62 kB / 1.166 GB, free: 11.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001621/0.6175, allocations: 1.493 MB / 1.168 GB, free: 10.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6175, allocations: 0 / 1.168 GB, free: 10.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002036/0.6195, allocations: 1.095 MB / 1.169 GB, free: 9.051 MB / 0.698 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.003039/0.6226, allocations: 2.499 MB / 1.171 GB, free: 6.648 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.6244, allocations: 1.346 MB / 1.172 GB, free: 5.316 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6244, allocations: 4 kB / 1.172 GB, free: 5.312 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004518/0.6249, allocations: 332.3 kB / 1.173 GB, free: 4.988 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005691/0.6306, allocations: 1.383 MB / 1.174 GB, free: 3.621 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/0.6513, allocations: 13.52 MB / 1.187 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009856/0.6523, allocations: 1.574 MB / 1.189 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00153/0.6539, allocations: 0.4909 MB / 1.189 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009882/0.6548, allocations: 0.9444 MB / 1.19 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.6549, allocations: 4 kB / 1.19 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8543/1.509, allocations: 65.72 MB / 1.254 GB, free: 0.6719 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/1.509, allocations: 249.4 kB / 1.255 GB, free: 436 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.145/5.654, allocations: 0 / 1.255 GB, free: 436 kB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)