Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.761/1.761, allocations: 288.2 MB / 303.2 MB, free: 8.156 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.001131/0.001132, allocations: 185.1 kB / 371.8 MB, free: 10.26 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.997/1.997, allocations: 205.4 MB / 0.6305 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.001257/0.001257, allocations: 89.16 kB / 0.7439 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004426, allocations: 13.09 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2512, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9997/1.251, allocations: 398.7 MB / 1.369 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/1.251, allocations: 96.81 kB / 1.369 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.8842/2.136, allocations: 175.3 MB / 1.54 GB, free: 249.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.903e-06/2.136, allocations: 0 / 1.54 GB, free: 249.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.309e-05/2.136, allocations: 19.98 kB / 1.54 GB, free: 249.1 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001611/2.137, allocations: 0.8151 MB / 1.541 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/2.137, allocations: 12.03 kB / 1.541 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.626e-05/2.137, allocations: 58.53 kB / 1.541 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/2.138, allocations: 55.39 kB / 1.541 GB, free: 248.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007532/2.138, allocations: 437.3 kB / 1.541 GB, free: 247.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/2.138, allocations: 20.44 kB / 1.541 GB, free: 247.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/2.138, allocations: 32 kB / 1.542 GB, free: 247.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/2.139, allocations: 207.2 kB / 1.542 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/2.139, allocations: 7.938 kB / 1.542 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/2.139, allocations: 8 kB / 1.542 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/2.139, allocations: 4 kB / 1.542 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/2.139, allocations: 173.6 kB / 1.542 GB, free: 247.2 MB / 0.9323 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.001472/2.141, allocations: 0.9536 MB / 1.543 GB, free: 246.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/2.141, allocations: 134.6 kB / 1.543 GB, free: 246 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/2.141, allocations: 340.7 kB / 1.543 GB, free: 245.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/2.141, allocations: 30.56 kB / 1.543 GB, free: 245.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/2.141, allocations: 0 / 1.543 GB, free: 245.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=14): time 0.000569/2.142, allocations: 263 kB / 1.544 GB, free: 245.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/2.142, allocations: 51.41 kB / 1.544 GB, free: 245.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/2.142, allocations: 409.2 kB / 1.544 GB, free: 244.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/2.142, allocations: 37.7 kB / 1.544 GB, free: 244.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/2.142, allocations: 224.6 kB / 1.544 GB, free: 244.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/2.142, allocations: 59.27 kB / 1.544 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/2.142, allocations: 4 kB / 1.544 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/2.143, allocations: 350.8 kB / 1.545 GB, free: 244.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/2.143, allocations: 67.95 kB / 1.545 GB, free: 244.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/2.143, allocations: 177.1 kB / 1.545 GB, free: 243.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/2.143, allocations: 93.14 kB / 1.545 GB, free: 243.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/2.143, allocations: 0 / 1.545 GB, free: 243.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004493/2.144, allocations: 258.2 kB / 1.545 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.022e-05/2.144, allocations: 271 kB / 1.545 GB, free: 243.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/2.144, allocations: 0 / 1.545 GB, free: 243.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/2.144, allocations: 3.953 kB / 1.545 GB, free: 243.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/2.144, allocations: 63.91 kB / 1.546 GB, free: 243.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/2.144, allocations: 0 / 1.546 GB, free: 243.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/2.144, allocations: 55.59 kB / 1.546 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/2.144, allocations: 11.98 kB / 1.546 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.295e-06/2.144, allocations: 8 kB / 1.546 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003609/2.145, allocations: 181.4 kB / 1.546 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/2.145, allocations: 0 / 1.546 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/2.145, allocations: 4 kB / 1.546 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/2.145, allocations: 51.91 kB / 1.546 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/2.145, allocations: 8 kB / 1.546 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/2.145, allocations: 47.7 kB / 1.546 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/2.145, allocations: 8 kB / 1.546 GB, free: 242.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.000163/2.145, allocations: 245 kB / 1.546 GB, free: 242.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/2.146, allocations: 39.53 kB / 1.546 GB, free: 242.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/2.146, allocations: 266.2 kB / 1.546 GB, free: 242.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/2.146, allocations: 8.125 kB / 1.546 GB, free: 242.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/2.146, allocations: 0 / 1.546 GB, free: 242.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/2.146, allocations: 7.969 kB / 1.546 GB, free: 242.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008311/2.147, allocations: 0.7161 MB / 1.547 GB, free: 241.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/2.147, allocations: 3.984 kB / 1.547 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/2.147, allocations: 27.98 kB / 1.547 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/2.147, allocations: 4 kB / 1.547 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/2.147, allocations: 4 kB / 1.547 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/2.147, allocations: 0 / 1.547 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/2.147, allocations: 7.938 kB / 1.547 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/2.147, allocations: 403.7 kB / 1.548 GB, free: 241 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/2.148, allocations: 144.4 kB / 1.548 GB, free: 240.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/2.148, allocations: 4 kB / 1.548 GB, free: 240.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/2.148, allocations: 39.81 kB / 1.548 GB, free: 240.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/2.148, allocations: 11.92 kB / 1.548 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/2.148, allocations: 12 kB / 1.548 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002898/2.148, allocations: 322.9 kB / 1.548 GB, free: 240.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.31e-07/2.148, allocations: 0 / 1.548 GB, free: 240.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008676/2.149, allocations: 227.7 kB / 1.548 GB, free: 240.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001857/2.151, allocations: 1.688 MB / 1.55 GB, free: 238.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005913/2.152, allocations: 283.6 kB / 1.55 GB, free: 238.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/2.152, allocations: 0 / 1.55 GB, free: 238.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/2.152, allocations: 91.83 kB / 1.55 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/2.153, allocations: 229.5 kB / 1.551 GB, free: 238 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/2.155, allocations: 1.481 MB / 1.552 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/2.155, allocations: 0.8311 MB / 1.553 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003157/2.155, allocations: 91.22 kB / 1.553 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/2.155, allocations: 139.4 kB / 1.553 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of SimCode: time 4.3e-07/2.155, allocations: 0 / 1.553 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/2.184, allocations: 13.71 MB / 1.566 GB, free: 221.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/2.184, allocations: 243 kB / 1.567 GB, free: 221.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/4.553, allocations: 0 / 1.567 GB, free: 221.6 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)