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.797/1.797, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001134/0.001134, allocations: 172.9 kB / 361.4 MB, free: 6.809 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.755/1.755, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0008753/0.0008752, allocations: 98.73 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.829e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8617/0.8617, allocations: 115.3 MB / 0.9645 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.23/2.092, allocations: 398 MB / 1.353 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/2.093, allocations: 92.69 kB / 1.353 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3464/2.439, allocations: 173.5 MB / 1.523 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.734e-06/2.439, allocations: 0 / 1.523 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.454e-05/2.439, allocations: 19.98 kB / 1.523 GB, free: 8.625 MB / 0.8542 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.001486/2.441, allocations: 0.7318 MB / 1.523 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/2.441, allocations: 8.031 kB / 1.523 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/2.441, allocations: 59.3 kB / 1.523 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008284/2.442, allocations: 423.7 kB / 1.524 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/2.442, allocations: 7.938 kB / 1.524 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/2.442, allocations: 20 kB / 1.524 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002641/2.442, allocations: 128.8 kB / 1.524 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/2.442, allocations: 158.4 kB / 1.524 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/2.442, allocations: 0 / 1.524 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/2.442, allocations: 3.984 kB / 1.524 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/2.442, allocations: 11.95 kB / 1.524 GB, free: 6.992 MB / 0.8542 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.001613/2.444, allocations: 0.8793 MB / 1.525 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/2.444, allocations: 118.5 kB / 1.525 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/2.444, allocations: 52.84 kB / 1.525 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/2.445, allocations: 340.4 kB / 1.526 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/2.445, allocations: 34.56 kB / 1.526 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/2.445, allocations: 0 / 1.526 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.000473/2.445, allocations: 165.3 kB / 1.526 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/2.445, allocations: 59.39 kB / 1.526 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/2.446, allocations: 353.3 kB / 1.526 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/2.446, allocations: 25.7 kB / 1.526 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/2.446, allocations: 236.6 kB / 1.526 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/2.446, allocations: 47.3 kB / 1.526 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/2.446, allocations: 0 / 1.526 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/2.446, allocations: 346.8 kB / 1.527 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.796e-05/2.446, allocations: 51.94 kB / 1.527 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/2.446, allocations: 151.1 kB / 1.527 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/2.446, allocations: 75.89 kB / 1.527 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/2.446, allocations: 3.938 kB / 1.527 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003843/2.447, allocations: 221.7 kB / 1.527 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.169e-05/2.447, allocations: 271.9 kB / 1.527 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/2.447, allocations: 8 kB / 1.527 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/2.447, allocations: 0 / 1.527 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/2.447, allocations: 47.97 kB / 1.528 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/2.447, allocations: 11.92 kB / 1.528 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/2.448, allocations: 43.75 kB / 1.528 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/2.448, allocations: 12 kB / 1.528 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/2.448, allocations: 4 kB / 1.528 GB, free: 3.219 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002942/2.448, allocations: 132.8 kB / 1.528 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/2.448, allocations: 4 kB / 1.528 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-06/2.448, allocations: 0 / 1.528 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/2.448, allocations: 51.91 kB / 1.528 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/2.448, allocations: 4 kB / 1.528 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/2.448, allocations: 43.8 kB / 1.528 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/2.448, allocations: 8 kB / 1.528 GB, free: 2.98 MB / 0.8542 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 () * 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 9.117e-05/2.449, allocations: 108.9 kB / 1.528 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002875/2.449, allocations: 162.3 kB / 1.528 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/2.449, allocations: 43.53 kB / 1.528 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/2.449, allocations: 214.5 kB / 1.528 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/2.449, allocations: 0 / 1.528 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/2.449, allocations: 0 / 1.528 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/2.449, allocations: 0 / 1.528 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007562/2.45, allocations: 0.6242 MB / 1.529 GB, free: 1.766 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.45, allocations: 4 kB / 1.529 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/2.45, allocations: 27.98 kB / 1.529 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/2.45, allocations: 11.97 kB / 1.529 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/2.45, allocations: 0 / 1.529 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/2.45, allocations: 11.88 kB / 1.529 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/2.45, allocations: 0 / 1.529 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/2.451, allocations: 361.2 kB / 1.529 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/2.451, allocations: 140.5 kB / 1.529 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/2.451, allocations: 4 kB / 1.529 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/2.451, allocations: 23.88 kB / 1.529 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/2.451, allocations: 11.98 kB / 1.529 GB, free: 1.109 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/2.451, allocations: 15.98 kB / 1.53 GB, free: 1.094 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002396/2.452, allocations: 279 kB / 1.53 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/2.452, allocations: 0 / 1.53 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007924/2.452, allocations: 227.5 kB / 1.53 GB, free: 0.6016 MB / 0.8542 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 () * 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.002204/2.455, allocations: 1.581 MB / 1.532 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004931/2.455, allocations: 230.2 kB / 1.532 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/2.455, allocations: 0 / 1.532 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/2.455, allocations: 67.91 kB / 1.532 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/2.456, allocations: 199.6 kB / 1.532 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/2.458, allocations: 0.6086 MB / 1.533 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/2.459, allocations: 0.8351 MB / 1.533 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005625/2.459, allocations: 115.2 kB / 1.534 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/2.46, allocations: 135.4 kB / 1.534 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of SimCode: time 4.368e-06/2.46, allocations: 0 / 1.534 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04228/2.502, allocations: 12.07 MB / 1.545 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/2.502, allocations: 191.5 kB / 1.546 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/5.046, allocations: 0 / 1.546 GB, free: 0.6211 MB / 0.8698 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)