Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.824/1.824, allocations: 288.4 MB / 303.3 MB, free: 8.168 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.001335/0.001335, allocations: 181.5 kB / 372 MB, free: 10.28 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.732/1.732, allocations: 205.4 MB / 0.6307 GB, free: 10.04 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.0008054/0.0008055, allocations: 98.28 kB / 0.7441 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005853/0.0005852, allocations: 12.09 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2129, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.636/0.849, allocations: 143.3 MB / 1.12 GB, free: 25.57 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04015/0.8892, allocations: 32.87 MB / 1.152 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007762/0.897, allocations: 134.2 kB / 1.152 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003505/0.9006, allocations: 0.694 MB / 1.153 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008551/0.9092, allocations: 2.492 MB / 1.155 GB, free: 472 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006051/0.9152, allocations: 1.996 MB / 1.157 GB, free: 15.09 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009755/0.925, allocations: 6.176 MB / 1.163 GB, free: 11.42 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003466/0.9285, allocations: 1.651 MB / 1.165 GB, free: 10.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005909/0.9345, allocations: 2.176 MB / 1.167 GB, free: 9.145 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004186/0.9387, allocations: 1.777 MB / 1.168 GB, free: 8.125 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005357/0.9392, allocations: 94.69 kB / 1.169 GB, free: 8.125 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.9424, allocations: 0.8496 MB / 1.169 GB, free: 7.711 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005416/0.9429, allocations: 410.5 kB / 1.17 GB, free: 7.398 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.9442, allocations: 460 kB / 1.17 GB, free: 7.148 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.9477, allocations: 2.386 MB / 1.172 GB, free: 5.438 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.9478, allocations: 0 / 1.172 GB, free: 5.438 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.013e-06/0.9478, allocations: 0 / 1.172 GB, free: 5.438 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.553e-05/0.9479, allocations: 0 / 1.172 GB, free: 5.438 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.005311/0.9532, allocations: 2.341 MB / 1.175 GB, free: 3.738 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.9533, allocations: 11.66 kB / 1.175 GB, free: 3.738 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000276/0.9535, allocations: 170.1 kB / 1.175 GB, free: 3.598 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004491/0.954, allocations: 263.1 kB / 1.175 GB, free: 3.465 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.9566, allocations: 1.355 MB / 1.177 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.9568, allocations: 104.2 kB / 1.177 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.957, allocations: 142.1 kB / 1.177 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/0.9594, allocations: 1.152 MB / 1.178 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.9595, allocations: 0 / 1.178 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.9596, allocations: 53.89 kB / 1.178 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.9596, allocations: 26.12 kB / 1.178 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.9615, allocations: 1.012 MB / 1.179 GB, free: 1.066 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.01021/0.9717, allocations: 6.321 MB / 1.185 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008993/0.9726, allocations: 0.5743 MB / 1.186 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005448/0.9732, allocations: 387.8 kB / 1.186 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003917/0.9736, allocations: 0.516 MB / 1.187 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.9736, allocations: 37.84 kB / 1.187 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001568/0.9752, allocations: 332 kB / 1.187 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=58): time 3.076e-06/0.9752, allocations: 0 / 1.187 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58): time 0.001867/0.9771, allocations: 1.129 MB / 1.188 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.9771, allocations: 58.81 kB / 1.188 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.9792, allocations: 1.827 MB / 1.19 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-05/0.9793, allocations: 41.7 kB / 1.19 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007407/0.98, allocations: 0.9105 MB / 1.191 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.9802, allocations: 209 kB / 1.191 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.9803, allocations: 24 kB / 1.191 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.9805, allocations: 349.9 kB / 1.191 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000758/0.9813, allocations: 414.4 kB / 1.192 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009807/0.9823, allocations: 0.6644 MB / 1.192 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008487/0.9831, allocations: 0.4905 MB / 1.193 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.9831, allocations: 0 / 1.193 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002296/0.9854, allocations: 1.366 MB / 1.194 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.9856, allocations: 190.2 kB / 1.194 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.9856, allocations: 4 kB / 1.194 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.9856, allocations: 8 kB / 1.194 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.9869, allocations: 295.5 kB / 1.195 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.9869, allocations: 8 kB / 1.195 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.9886, allocations: 159.3 kB / 1.195 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.9887, allocations: 63.95 kB / 1.195 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.9887, allocations: 11.98 kB / 1.195 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00186/0.9906, allocations: 1.14 MB / 1.196 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9906, allocations: 0 / 1.196 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.9906, allocations: 19.88 kB / 1.196 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.9918, allocations: 279.6 kB / 1.196 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.9918, allocations: 15.94 kB / 1.196 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.9933, allocations: 151.6 kB / 1.196 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.9934, allocations: 59.95 kB / 1.197 GB, free: 1.219 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.0007746/0.9942, allocations: 446 kB / 1.197 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.9944, allocations: 197.5 kB / 1.197 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.9964, allocations: 1.074 MB / 1.198 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.9965, allocations: 8 kB / 1.198 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.9965, allocations: 7.953 kB / 1.198 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.9965, allocations: 3.984 kB / 1.198 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/1, allocations: 2.389 MB / 1.201 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/1, allocations: 7.938 kB / 1.201 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/1.001, allocations: 136 kB / 1.201 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/1.001, allocations: 4 kB / 1.201 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/1.001, allocations: 19.94 kB / 1.201 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/1.001, allocations: 7.984 kB / 1.201 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.001, allocations: 4 kB / 1.201 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/1.002, allocations: 1.05 MB / 1.202 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/1.003, allocations: 374.2 kB / 1.202 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/1.003, allocations: 16 kB / 1.202 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008585/1.004, allocations: 95.75 kB / 1.202 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-05/1.004, allocations: 52.58 kB / 1.202 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/1.004, allocations: 20 kB / 1.202 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00162/1.006, allocations: 1.2 MB / 1.203 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.006, allocations: 0 / 1.203 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001983/1.008, allocations: 0.8926 MB / 1.204 GB, free: 9.066 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.002279/1.01, allocations: 1.842 MB / 1.206 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002736/1.013, allocations: 1.579 MB / 1.208 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.013, allocations: 0 / 1.208 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006164/1.013, allocations: 400.6 kB / 1.208 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005842/1.019, allocations: 1.162 MB / 1.209 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02233/1.042, allocations: 11.09 MB / 1.22 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/1.043, allocations: 1.394 MB / 1.221 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002619/1.046, allocations: 407.9 kB / 1.222 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/1.047, allocations: 0.8234 MB / 1.223 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of SimCode: time 1.102e-06/1.047, allocations: 0 / 1.223 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09285/1.14, allocations: 53.94 MB / 1.275 GB, free: 12 kB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/1.14, allocations: 256.7 kB / 1.275 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.123/5.263, allocations: 3.938 kB / 1.275 GB, free: 15.66 MB / 0.8073 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)