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 1.659/1.659, allocations: 287.4 MB / 302.6 MB, free: 8.344 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.0009911/0.0009911, allocations: 181.1 kB / 371.1 MB, free: 10.82 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.448/1.448, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007949/0.0007949, allocations: 89.28 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003644, allocations: 11 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1735, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4946/0.6682, allocations: 143.4 MB / 1.119 GB, free: 25.43 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04159/0.7099, allocations: 32.88 MB / 1.151 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004977/0.7149, allocations: 135.8 kB / 1.151 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.7172, allocations: 0.6952 MB / 1.152 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007001/0.7242, allocations: 2.49 MB / 1.154 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00557/0.7298, allocations: 1.997 MB / 1.156 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008823/0.7386, allocations: 6.244 MB / 1.162 GB, free: 12.15 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003278/0.7419, allocations: 1.804 MB / 1.164 GB, free: 10.98 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005492/0.7474, allocations: 2.176 MB / 1.166 GB, free: 9.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003353/0.7508, allocations: 1.781 MB / 1.168 GB, free: 8.746 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003809/0.7512, allocations: 94.72 kB / 1.168 GB, free: 8.746 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.7537, allocations: 0.8468 MB / 1.169 GB, free: 8.336 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004227/0.7541, allocations: 411.2 kB / 1.169 GB, free: 8.02 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006913/0.7548, allocations: 465.7 kB / 1.17 GB, free: 7.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.7572, allocations: 2.38 MB / 1.172 GB, free: 6.059 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7572, allocations: 3.219 kB / 1.172 GB, free: 6.059 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7572, allocations: 0 / 1.172 GB, free: 6.059 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.723e-05/0.7572, allocations: 0 / 1.172 GB, free: 6.059 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.003994/0.7612, allocations: 2.312 MB / 1.174 GB, free: 4.359 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.7613, allocations: 9.25 kB / 1.174 GB, free: 4.359 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002108/0.7615, allocations: 172.8 kB / 1.174 GB, free: 4.219 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.7618, allocations: 260.2 kB / 1.175 GB, free: 4.086 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.7639, allocations: 1.425 MB / 1.176 GB, free: 2.965 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.312e-05/0.764, allocations: 106 kB / 1.176 GB, free: 2.918 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.7642, allocations: 134.7 kB / 1.176 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.7665, allocations: 1.165 MB / 1.177 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.7665, allocations: 0 / 1.177 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.7666, allocations: 45.81 kB / 1.177 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.7666, allocations: 31.84 kB / 1.177 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.7685, allocations: 1.019 MB / 1.178 GB, free: 1.605 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.009984/0.7785, allocations: 6.323 MB / 1.185 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008701/0.7794, allocations: 0.5668 MB / 1.185 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006873/0.7801, allocations: 384.9 kB / 1.185 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/0.7805, allocations: 0.5088 MB / 1.186 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.7806, allocations: 38.47 kB / 1.186 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001443/0.782, allocations: 331.7 kB / 1.186 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=58): time 3.416e-06/0.782, allocations: 0 / 1.186 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58): time 0.00186/0.7839, allocations: 1.139 MB / 1.187 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.784, allocations: 59.28 kB / 1.187 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/0.7864, allocations: 1.829 MB / 1.189 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.7866, allocations: 45.7 kB / 1.189 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007643/0.7873, allocations: 0.9143 MB / 1.19 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.7875, allocations: 197.1 kB / 1.19 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.7876, allocations: 24 kB / 1.19 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.7877, allocations: 349.9 kB / 1.191 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007702/0.7885, allocations: 418.4 kB / 1.191 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.7896, allocations: 0.6644 MB / 1.192 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.7911, allocations: 0.9227 MB / 1.193 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7911, allocations: 0 / 1.193 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002836/0.794, allocations: 1.365 MB / 1.194 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.7941, allocations: 190.5 kB / 1.194 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.7941, allocations: 4 kB / 1.194 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.7942, allocations: 8 kB / 1.194 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.7955, allocations: 295.5 kB / 1.194 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.7955, allocations: 16 kB / 1.194 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.7976, allocations: 155.5 kB / 1.195 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.7978, allocations: 59.95 kB / 1.195 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.7978, allocations: 4 kB / 1.195 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002003/0.7998, allocations: 1.147 MB / 1.196 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.7998, allocations: 4.375 kB / 1.196 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.7998, allocations: 12 kB / 1.196 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.8011, allocations: 283.6 kB / 1.196 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.8011, allocations: 15.92 kB / 1.196 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.8032, allocations: 151.6 kB / 1.196 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.8033, allocations: 59.89 kB / 1.196 GB, free: 1.387 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.0008447/0.8042, allocations: 450.1 kB / 1.197 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003155/0.8045, allocations: 197.5 kB / 1.197 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/0.8066, allocations: 1.062 MB / 1.198 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.8067, allocations: 12 kB / 1.198 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.8067, allocations: 0 / 1.198 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.8067, allocations: 7.922 kB / 1.198 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00399/0.8107, allocations: 2.385 MB / 1.2 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.8107, allocations: 3.984 kB / 1.2 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/0.8113, allocations: 143.9 kB / 1.2 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.8114, allocations: 4 kB / 1.2 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.8114, allocations: 23.98 kB / 1.201 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.8114, allocations: 7.938 kB / 1.201 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8114, allocations: 0 / 1.201 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.8132, allocations: 1.054 MB / 1.202 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007281/0.814, allocations: 366.2 kB / 1.202 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/0.8142, allocations: 16 kB / 1.202 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009896/0.8152, allocations: 103.7 kB / 1.202 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.8153, allocations: 48.59 kB / 1.202 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.8154, allocations: 27.98 kB / 1.202 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001881/0.8173, allocations: 1.192 MB / 1.203 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8173, allocations: 0 / 1.203 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002347/0.8197, allocations: 0.8965 MB / 1.204 GB, free: 9.246 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.002537/0.8222, allocations: 1.834 MB / 1.206 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002811/0.825, allocations: 1.587 MB / 1.207 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.8251, allocations: 4 kB / 1.207 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006213/0.8257, allocations: 404.6 kB / 1.208 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006488/0.8322, allocations: 1.134 MB / 1.209 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02022/0.8524, allocations: 11.09 MB / 1.22 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009779/0.8534, allocations: 1.394 MB / 1.221 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002004/0.8555, allocations: 403.5 kB / 1.222 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/0.8568, allocations: 0.8234 MB / 1.222 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of SimCode: time 7.02e-07/0.8568, allocations: 4 kB / 1.222 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.134/0.9908, allocations: 53.97 MB / 1.275 GB, free: 196 kB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003515/0.9912, allocations: 249.2 kB / 1.275 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.941/4.932, allocations: 4 kB / 1.275 GB, free: 15.86 MB / 0.8073 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)