Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.641/2.641, allocations: 287.5 MB / 302.4 MB, free: 8.207 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.001281/0.001281, allocations: 186 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.4 MB / 0.6297 GB, free: 10.52 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.0008928/0.0008927, allocations: 92.34 kB / 0.743 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006373/0.0006375, allocations: 15.62 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2113, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.9273/1.139, allocations: 143.3 MB / 1.118 GB, free: 25.34 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.06445/1.203, allocations: 32.87 MB / 1.151 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007151/1.21, allocations: 139.6 kB / 1.151 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003782/1.214, allocations: 0.6933 MB / 1.151 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/1.225, allocations: 2.491 MB / 1.154 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008798/1.234, allocations: 1.995 MB / 1.156 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01218/1.246, allocations: 6.186 MB / 1.162 GB, free: 12.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004452/1.25, allocations: 1.648 MB / 1.163 GB, free: 11.27 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007981/1.258, allocations: 2.178 MB / 1.166 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005254/1.264, allocations: 1.774 MB / 1.167 GB, free: 9.035 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001054/1.265, allocations: 94.56 kB / 1.167 GB, free: 9.035 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004728/1.269, allocations: 0.8548 MB / 1.168 GB, free: 8.617 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001236/1.271, allocations: 403.8 kB / 1.169 GB, free: 8.309 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001505/1.272, allocations: 461.8 kB / 1.169 GB, free: 8.059 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005263/1.278, allocations: 2.384 MB / 1.171 GB, free: 6.348 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.278, allocations: 0 / 1.171 GB, free: 6.348 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.926e-06/1.278, allocations: 7.969 kB / 1.171 GB, free: 6.344 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001278/1.278, allocations: 0 / 1.171 GB, free: 6.344 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.007605/1.285, allocations: 2.331 MB / 1.174 GB, free: 4.652 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.285, allocations: 8.5 kB / 1.174 GB, free: 4.652 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000558/1.286, allocations: 179.8 kB / 1.174 GB, free: 4.504 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008011/1.287, allocations: 261.5 kB / 1.174 GB, free: 4.371 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004112/1.291, allocations: 1.347 MB / 1.175 GB, free: 3.328 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/1.291, allocations: 108 kB / 1.175 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003771/1.292, allocations: 142.3 kB / 1.176 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003458/1.295, allocations: 1.155 MB / 1.177 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/1.295, allocations: 0 / 1.177 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/1.295, allocations: 51.88 kB / 1.177 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/1.295, allocations: 32.47 kB / 1.177 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003306/1.299, allocations: 1.008 MB / 1.178 GB, free: 1.973 MB / 0.698 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.0177/1.316, allocations: 6.314 MB / 1.184 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/1.318, allocations: 0.5772 MB / 1.185 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.319, allocations: 392.4 kB / 1.185 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000563/1.32, allocations: 0.5043 MB / 1.185 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.522e-05/1.32, allocations: 38.09 kB / 1.185 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002835/1.323, allocations: 336.3 kB / 1.186 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=58): time 6.733e-06/1.323, allocations: 0 / 1.186 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58): time 0.00376/1.327, allocations: 1.126 MB / 1.187 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/1.327, allocations: 58.59 kB / 1.187 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004037/1.331, allocations: 1.825 MB / 1.189 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002902/1.331, allocations: 45.7 kB / 1.189 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001256/1.332, allocations: 0.9066 MB / 1.19 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/1.333, allocations: 209 kB / 1.19 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/1.333, allocations: 28 kB / 1.19 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001822/1.333, allocations: 357.8 kB / 1.19 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/1.334, allocations: 414.4 kB / 1.191 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/1.336, allocations: 0.6606 MB / 1.191 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/1.338, allocations: 0.4982 MB / 1.192 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/1.338, allocations: 0 / 1.192 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004498/1.342, allocations: 1.365 MB / 1.193 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001924/1.343, allocations: 190.5 kB / 1.193 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.343, allocations: 4 kB / 1.193 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/1.343, allocations: 8 kB / 1.193 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/1.345, allocations: 291.5 kB / 1.193 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/1.345, allocations: 12 kB / 1.194 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003047/1.348, allocations: 155.5 kB / 1.194 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/1.349, allocations: 63.95 kB / 1.194 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.349, allocations: 4 kB / 1.194 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003617/1.352, allocations: 1.143 MB / 1.195 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.352, allocations: 384 / 1.195 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/1.352, allocations: 19.95 kB / 1.195 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/1.355, allocations: 279.6 kB / 1.195 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/1.355, allocations: 8 kB / 1.195 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003054/1.358, allocations: 143.7 kB / 1.195 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/1.358, allocations: 67.94 kB / 1.195 GB, free: 2.316 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * 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.001263/1.36, allocations: 450 kB / 1.196 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005753/1.36, allocations: 197.5 kB / 1.196 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/1.364, allocations: 1.075 MB / 1.197 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/1.364, allocations: 11.95 kB / 1.197 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.364, allocations: 0 / 1.197 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/1.364, allocations: 3.984 kB / 1.197 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007713/1.372, allocations: 2.397 MB / 1.199 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.372, allocations: 0 / 1.199 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.373, allocations: 136 kB / 1.199 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-05/1.373, allocations: 8 kB / 1.199 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.647e-05/1.373, allocations: 19.98 kB / 1.2 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/1.373, allocations: 4 kB / 1.2 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.373, allocations: 4 kB / 1.2 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/1.376, allocations: 1.054 MB / 1.201 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/1.377, allocations: 366.2 kB / 1.201 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009044/1.378, allocations: 20 kB / 1.201 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003742/1.382, allocations: 99.69 kB / 1.201 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003887/1.383, allocations: 56.53 kB / 1.201 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/1.383, allocations: 23.98 kB / 1.201 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0053/1.388, allocations: 1.2 MB / 1.202 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.713e-06/1.388, allocations: 0 / 1.202 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005431/1.394, allocations: 0.8926 MB / 1.203 GB, free: 10.15 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (77): * Single equations (assignments): 74 * 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.004269/1.398, allocations: 1.836 MB / 1.205 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005007/1.403, allocations: 1.587 MB / 1.206 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/1.403, allocations: 0 / 1.206 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/1.404, allocations: 399.5 kB / 1.207 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01067/1.415, allocations: 1.159 MB / 1.208 GB, free: 5.148 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03285/1.448, allocations: 11.08 MB / 1.219 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.449, allocations: 1.397 MB / 1.22 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003142/1.453, allocations: 399 kB / 1.221 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002138/1.455, allocations: 0.8267 MB / 1.221 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of SimCode: time 1.352e-06/1.455, allocations: 4 kB / 1.221 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1498/1.605, allocations: 53.92 MB / 1.274 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/1.605, allocations: 256.7 kB / 1.274 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.253/6.858, allocations: 0 / 1.274 GB, free: 0.8047 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)