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.647/2.647, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001596/0.001596, allocations: 184 kB / 370.8 MB, free: 10.86 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.163/2.163, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001167/0.001166, allocations: 96.97 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007263/0.0007264, allocations: 16.55 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2436, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.326/1.569, allocations: 430.7 MB / 1.399 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003593/1.57, allocations: 109.2 kB / 1.399 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.114/7.684, allocations: 1.104 GB / 2.503 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.605e-06/7.684, allocations: 0 / 2.503 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000426/7.684, allocations: 63.98 kB / 2.503 GB, free: 4.855 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.01115/7.695, allocations: 2.699 MB / 2.505 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 8.007e-05/7.696, allocations: 8.031 kB / 2.505 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007964/7.696, allocations: 181.4 kB / 2.506 GB, free: 1.898 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/7.697, allocations: 269.1 kB / 2.506 GB, free: 1.633 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7864/8.484, allocations: 1.586 MB / 2.507 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/8.484, allocations: 110 kB / 2.508 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007473/8.485, allocations: 151.1 kB / 2.508 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004268/8.489, allocations: 1.147 MB / 2.509 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.892e-05/8.489, allocations: 2.312 kB / 2.509 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/8.49, allocations: 48.39 kB / 2.509 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/8.49, allocations: 29.62 kB / 2.509 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003666/8.493, allocations: 1.012 MB / 2.51 GB, free: 113.7 MB / 0.9636 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.02016/8.514, allocations: 6.342 MB / 2.516 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/8.516, allocations: 0.5948 MB / 2.517 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005633/8.516, allocations: 0.5138 MB / 2.517 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/8.516, allocations: 37.47 kB / 2.517 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004644/8.521, allocations: 474 kB / 2.518 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=58): time 1.248e-05/8.521, allocations: 0 / 2.518 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=58): time 0.004678/8.526, allocations: 1.14 MB / 2.519 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/8.526, allocations: 58.19 kB / 2.519 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005097/8.531, allocations: 1.599 MB / 2.52 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004743/8.531, allocations: 51.23 kB / 2.52 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001449/8.533, allocations: 0.9308 MB / 2.521 GB, free: 110 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000443/8.533, allocations: 198.6 kB / 2.522 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/8.533, allocations: 25.44 kB / 2.522 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001424/8.534, allocations: 350.1 kB / 2.522 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/8.535, allocations: 414.6 kB / 2.522 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/8.537, allocations: 0.7459 MB / 2.523 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/8.539, allocations: 0.5049 MB / 2.523 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/8.539, allocations: 1.312 kB / 2.523 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00489/8.544, allocations: 1.35 MB / 2.525 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002845/8.544, allocations: 0.9291 MB / 2.526 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/8.544, allocations: 6.625 kB / 2.526 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.45e-05/8.545, allocations: 8.562 kB / 2.526 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/8.547, allocations: 279.5 kB / 2.526 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.406e-05/8.547, allocations: 16.94 kB / 2.526 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004115/8.552, allocations: 167.2 kB / 2.526 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000484/8.552, allocations: 62.2 kB / 2.526 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/8.552, allocations: 4.75 kB / 2.526 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003944/8.556, allocations: 1.117 MB / 2.527 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/8.556, allocations: 2.625 kB / 2.527 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/8.556, allocations: 9.969 kB / 2.527 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/8.559, allocations: 271.9 kB / 2.528 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.536e-05/8.559, allocations: 11.39 kB / 2.528 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/8.562, allocations: 163.1 kB / 2.528 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002972/8.563, allocations: 60.28 kB / 2.528 GB, free: 108 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 () * Number of clocked 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.001533/8.564, allocations: 452.2 kB / 2.528 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007091/8.565, allocations: 199.7 kB / 2.528 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003737/8.569, allocations: 1.067 MB / 2.529 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/8.569, allocations: 8.312 kB / 2.529 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/8.569, allocations: 3.969 kB / 2.529 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/8.569, allocations: 3.703 kB / 2.53 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006879/8.576, allocations: 2.387 MB / 2.532 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/8.576, allocations: 1.719 kB / 2.532 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/8.577, allocations: 138.7 kB / 2.532 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/8.577, allocations: 8.672 kB / 2.532 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/8.577, allocations: 20.98 kB / 2.532 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/8.577, allocations: 5 kB / 2.532 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/8.577, allocations: 1.875 kB / 2.532 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002828/8.58, allocations: 1.168 MB / 2.533 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/8.581, allocations: 361.9 kB / 2.533 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004573/8.582, allocations: 22.58 kB / 2.534 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/8.584, allocations: 109.9 kB / 2.534 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/8.584, allocations: 51.12 kB / 2.534 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.909e-05/8.584, allocations: 27.36 kB / 2.534 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002748/8.587, allocations: 1.211 MB / 2.535 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.71e-07/8.587, allocations: 2.875 kB / 2.535 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004939/8.592, allocations: 0.9768 MB / 2.536 GB, free: 106.4 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 () * 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.00519/8.597, allocations: 2.959 MB / 2.539 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00466/8.602, allocations: 1.578 MB / 2.54 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/8.602, allocations: 0 / 2.54 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/8.603, allocations: 401.3 kB / 2.541 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01023/8.613, allocations: 1.133 MB / 2.542 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/8.627, allocations: 5.832 MB / 2.547 GB, free: 101.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002593/8.63, allocations: 1.435 MB / 2.549 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005483/8.635, allocations: 399.5 kB / 2.549 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003339/8.639, allocations: 0.8192 MB / 2.55 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of SimCode: time 1.964e-06/8.639, allocations: 0 / 2.55 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1719/8.81, allocations: 62.84 MB / 2.611 GB, free: 98.47 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/8.811, allocations: 245.3 kB / 2.612 GB, free: 98.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.616/14.43, allocations: 0 / 2.612 GB, free: 98.2 MB / 0.9636 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)