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.604/1.604, allocations: 288.4 MB / 303.6 MB, free: 8.137 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.001436/0.001436, allocations: 182.8 kB / 372.3 MB, free: 10.14 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.313/1.313, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.000736/0.0007361, allocations: 94.78 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004446, allocations: 12.69 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1867, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5001/0.6868, allocations: 143.4 MB / 1.12 GB, free: 25.48 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03684/0.7237, allocations: 32.87 MB / 1.152 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00557/0.7293, allocations: 135.5 kB / 1.152 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.7319, allocations: 0.6896 MB / 1.153 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007682/0.7396, allocations: 2.676 MB / 1.156 GB, free: 64 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005885/0.7455, allocations: 2.004 MB / 1.158 GB, free: 14.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009023/0.7545, allocations: 6.247 MB / 1.164 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003466/0.758, allocations: 1.798 MB / 1.166 GB, free: 9.812 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006108/0.7642, allocations: 2.306 MB / 1.168 GB, free: 8.512 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003621/0.7678, allocations: 1.781 MB / 1.17 GB, free: 7.488 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000648/0.7685, allocations: 94.88 kB / 1.17 GB, free: 7.488 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.7713, allocations: 0.9038 MB / 1.17 GB, free: 7.039 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007203/0.7721, allocations: 411.2 kB / 1.171 GB, free: 6.727 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002202/0.7743, allocations: 1.084 MB / 1.172 GB, free: 6.023 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003213/0.7775, allocations: 2.39 MB / 1.174 GB, free: 4.316 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.7775, allocations: 7.906 kB / 1.174 GB, free: 4.312 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7775, allocations: 4 kB / 1.174 GB, free: 4.309 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001259/0.7777, allocations: 0 / 1.174 GB, free: 4.309 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.004499/0.7822, allocations: 2.304 MB / 1.177 GB, free: 2.617 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.7822, allocations: 8.812 kB / 1.177 GB, free: 2.617 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002998/0.7825, allocations: 175.7 kB / 1.177 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004652/0.783, allocations: 262.3 kB / 1.177 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.7851, allocations: 1.434 MB / 1.178 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-05/0.7851, allocations: 102.9 kB / 1.178 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.7853, allocations: 138.4 kB / 1.179 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.7873, allocations: 1.156 MB / 1.18 GB, free: 428 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.7874, allocations: 0 / 1.18 GB, free: 428 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/0.7875, allocations: 53.91 kB / 1.18 GB, free: 384 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.7875, allocations: 27.34 kB / 1.18 GB, free: 384 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.7892, allocations: 1.02 MB / 1.181 GB, free: 15.86 MB / 0.7136 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.008551/0.7977, allocations: 6.326 MB / 1.187 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008434/0.7986, allocations: 0.5652 MB / 1.188 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.7991, allocations: 382.6 kB / 1.188 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003991/0.7995, allocations: 0.5104 MB / 1.188 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.7996, allocations: 38.44 kB / 1.188 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001342/0.8009, allocations: 337 kB / 1.189 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=58): time 4.368e-06/0.8009, allocations: 0 / 1.189 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58): time 0.001802/0.8027, allocations: 1.13 MB / 1.19 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.8028, allocations: 59.91 kB / 1.19 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.8049, allocations: 1.827 MB / 1.192 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.315e-05/0.805, allocations: 41.7 kB / 1.192 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006823/0.8057, allocations: 0.9104 MB / 1.193 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.8058, allocations: 205.1 kB / 1.193 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.8059, allocations: 31.94 kB / 1.193 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.806, allocations: 349.9 kB / 1.193 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006957/0.8067, allocations: 414.4 kB / 1.194 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008746/0.8076, allocations: 0.6698 MB / 1.194 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.809, allocations: 0.9188 MB / 1.195 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.809, allocations: 4 kB / 1.195 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00205/0.8111, allocations: 1.357 MB / 1.196 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.8112, allocations: 198.3 kB / 1.197 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.8112, allocations: 4 kB / 1.197 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.8112, allocations: 8 kB / 1.197 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.8124, allocations: 291.5 kB / 1.197 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.8124, allocations: 12 kB / 1.197 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.8139, allocations: 155.6 kB / 1.197 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.814, allocations: 55.95 kB / 1.197 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.814, allocations: 4 kB / 1.197 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001763/0.8158, allocations: 1.143 MB / 1.198 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8158, allocations: 7.938 kB / 1.198 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.894e-06/0.8158, allocations: 8 kB / 1.198 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.8168, allocations: 280 kB / 1.199 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.8169, allocations: 19.92 kB / 1.199 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.8182, allocations: 151.3 kB / 1.199 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.264e-05/0.8183, allocations: 59.89 kB / 1.199 GB, free: 15.11 MB / 0.7292 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.0007367/0.819, allocations: 450.5 kB / 1.199 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.8193, allocations: 201.5 kB / 1.199 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.8211, allocations: 1.062 MB / 1.2 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.8211, allocations: 8.094 kB / 1.2 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.8212, allocations: 4 kB / 1.2 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.8212, allocations: 11.91 kB / 1.2 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/0.8243, allocations: 2.397 MB / 1.203 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.8243, allocations: 4 kB / 1.203 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/0.8248, allocations: 139.8 kB / 1.203 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.8249, allocations: 4 kB / 1.203 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.8249, allocations: 16 kB / 1.203 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.8249, allocations: 7.938 kB / 1.203 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.8249, allocations: 16.16 kB / 1.203 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.8264, allocations: 1.05 MB / 1.204 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006182/0.827, allocations: 366.2 kB / 1.204 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.8272, allocations: 12 kB / 1.204 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008587/0.8281, allocations: 99.75 kB / 1.204 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.8282, allocations: 48.58 kB / 1.205 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.8283, allocations: 28 kB / 1.205 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001634/0.8299, allocations: 1.204 MB / 1.206 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8299, allocations: 0 / 1.206 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002128/0.832, allocations: 0.8965 MB / 1.207 GB, free: 6.941 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.002168/0.8342, allocations: 1.835 MB / 1.208 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002468/0.8367, allocations: 1.583 MB / 1.21 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.8367, allocations: 384 / 1.21 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.8373, allocations: 403.5 kB / 1.21 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006088/0.8434, allocations: 1.139 MB / 1.211 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/0.8635, allocations: 11.09 MB / 1.222 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008991/0.8644, allocations: 1.397 MB / 1.224 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001859/0.8663, allocations: 395.9 kB / 1.224 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009503/0.8673, allocations: 0.8195 MB / 1.225 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.8673, allocations: 0 / 1.225 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7876/1.655, allocations: 54.59 MB / 1.278 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/1.655, allocations: 256.7 kB / 1.278 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.371/6.026, allocations: 7.156 kB / 1.278 GB, free: 12.91 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)