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.819/1.819, allocations: 285.4 MB / 298 MB, free: 5.977 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.001132/0.001132, allocations: 180.8 kB / 366.4 MB, free: 2.098 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.707/1.707, allocations: 205.1 MB / 0.6248 GB, free: 7.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009012/0.0009012, allocations: 96.55 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/3.998e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8432/0.8433, allocations: 115.3 MB / 0.971 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/2.045, allocations: 430.8 MB / 1.392 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/2.046, allocations: 101 kB / 1.392 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.505/6.55, allocations: 1.1 GB / 2.492 GB, free: 115 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.126e-06/6.55, allocations: 0 / 2.492 GB, free: 115 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004172/6.551, allocations: 71.94 kB / 2.492 GB, free: 115 MB / 0.9636 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.00839/6.559, allocations: 2.297 MB / 2.494 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.117e-05/6.559, allocations: 9.844 kB / 2.494 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000688/6.56, allocations: 175.7 kB / 2.495 GB, free: 114 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/6.561, allocations: 267.3 kB / 2.495 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005204/6.567, allocations: 1.568 MB / 2.496 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/6.567, allocations: 108.9 kB / 2.497 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003284/6.567, allocations: 146.4 kB / 2.497 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/6.569, allocations: 1.115 MB / 2.498 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/6.569, allocations: 0 / 2.498 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/6.569, allocations: 41.59 kB / 2.498 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/6.569, allocations: 32.56 kB / 2.498 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/6.571, allocations: 0.9511 MB / 2.499 GB, free: 113.3 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01224/6.583, allocations: 6.356 MB / 2.505 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009101/6.584, allocations: 0.573 MB / 2.505 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004813/6.585, allocations: 379.2 kB / 2.506 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004708/6.585, allocations: 0.5117 MB / 2.506 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/6.585, allocations: 44.66 kB / 2.506 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002756/6.588, allocations: 473.7 kB / 2.507 GB, free: 110 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=58): time 9.518e-06/6.588, allocations: 2.734 kB / 2.507 GB, free: 110 MB / 0.9636 GB Notification: Performance of matching and sorting (n=58): time 0.001776/6.59, allocations: 0.817 MB / 2.508 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/6.59, allocations: 65.47 kB / 2.508 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002582/6.593, allocations: 1.579 MB / 2.509 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002813/6.593, allocations: 48.23 kB / 2.509 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007016/6.594, allocations: 0.9272 MB / 2.51 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/6.594, allocations: 208.8 kB / 2.51 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/6.594, allocations: 21.59 kB / 2.51 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000117/6.594, allocations: 357.5 kB / 2.511 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007165/6.595, allocations: 386.5 kB / 2.511 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009704/6.596, allocations: 0.7254 MB / 2.512 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000808/6.597, allocations: 486.6 kB / 2.512 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/6.597, allocations: 0 / 2.512 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002545/6.599, allocations: 1.288 MB / 2.514 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002912/6.599, allocations: 0.9319 MB / 2.514 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/6.599, allocations: 3.969 kB / 2.514 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.391e-05/6.6, allocations: 9.062 kB / 2.514 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/6.601, allocations: 282.1 kB / 2.515 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/6.601, allocations: 7.312 kB / 2.515 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/6.603, allocations: 171.8 kB / 2.515 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/6.604, allocations: 63.14 kB / 2.515 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/6.604, allocations: 3.75 kB / 2.515 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001765/6.605, allocations: 1.056 MB / 2.516 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/6.605, allocations: 9.375 kB / 2.516 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/6.605, allocations: 10.64 kB / 2.516 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/6.606, allocations: 278.5 kB / 2.516 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/6.607, allocations: 9.5 kB / 2.516 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/6.609, allocations: 163.2 kB / 2.516 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/6.609, allocations: 57.58 kB / 2.517 GB, free: 107.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.0003617/6.609, allocations: 171.2 kB / 2.517 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005031/6.61, allocations: 201.8 kB / 2.517 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/6.612, allocations: 1.023 MB / 2.518 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/6.612, allocations: 14.11 kB / 2.518 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/6.612, allocations: 0 / 2.518 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/6.612, allocations: 5.984 kB / 2.518 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004106/6.616, allocations: 2.338 MB / 2.52 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.557e-06/6.616, allocations: 1.312 kB / 2.52 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/6.617, allocations: 137.5 kB / 2.52 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/6.617, allocations: 8.406 kB / 2.52 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/6.617, allocations: 21.3 kB / 2.52 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/6.617, allocations: 2.719 kB / 2.52 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/6.617, allocations: 3.688 kB / 2.52 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/6.619, allocations: 1.123 MB / 2.521 GB, free: 106 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/6.62, allocations: 371.9 kB / 2.522 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002811/6.62, allocations: 10.34 kB / 2.522 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/6.621, allocations: 118.4 kB / 2.522 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/6.621, allocations: 50.39 kB / 2.522 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.077e-05/6.621, allocations: 24.56 kB / 2.522 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001953/6.623, allocations: 1.19 MB / 2.523 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/6.623, allocations: 0 / 2.523 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003861/6.627, allocations: 0.9785 MB / 2.524 GB, free: 105.6 MB / 0.9636 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 () * 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.003433/6.631, allocations: 2.919 MB / 2.527 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002963/6.634, allocations: 1.575 MB / 2.529 GB, free: 104 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/6.634, allocations: 0 / 2.529 GB, free: 104 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005828/6.634, allocations: 383.1 kB / 2.529 GB, free: 104 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006806/6.641, allocations: 1.136 MB / 2.53 GB, free: 104 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006867/6.648, allocations: 2.558 MB / 2.532 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008382/6.649, allocations: 1.444 MB / 2.534 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003019/6.652, allocations: 0.5128 MB / 2.534 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/6.653, allocations: 0.7883 MB / 2.535 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of SimCode: time 2.084e-06/6.653, allocations: 0 / 2.535 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1278/6.781, allocations: 68.02 MB / 2.602 GB, free: 96.95 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/6.781, allocations: 232 kB / 2.602 GB, free: 96.72 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.132/11.91, allocations: 0 / 2.602 GB, free: 96.72 MB / 0.9636 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)