Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.702/2.702, allocations: 393.5 MB / 408.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 186.6 kB / 0.4901 GB, free: 2.227 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.707/1.707, allocations: 223.1 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 92.33 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 7.594 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2696, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.323, allocations: 398.1 MB / 1.618 GB, free: 14.72 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/1.324, allocations: 103.3 kB / 1.618 GB, free: 14.66 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4099/1.734, allocations: 179 MB / 1.793 GB, free: 12.88 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.124e-06/1.734, allocations: 0 / 1.793 GB, free: 12.88 MB / 1.104 GB Notification: Performance of Transformations before backend: time 7.193e-05/1.734, allocations: 19.98 kB / 1.793 GB, free: 12.86 MB / 1.104 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.002085/1.736, allocations: 0.8331 MB / 1.794 GB, free: 11.97 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.736, allocations: 8.031 kB / 1.794 GB, free: 11.96 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/1.736, allocations: 58.5 kB / 1.794 GB, free: 11.89 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/1.736, allocations: 55.34 kB / 1.794 GB, free: 11.84 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009773/1.737, allocations: 433.4 kB / 1.794 GB, free: 11.38 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/1.737, allocations: 20.44 kB / 1.794 GB, free: 11.36 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/1.737, allocations: 28 kB / 1.794 GB, free: 11.33 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/1.738, allocations: 211.2 kB / 1.795 GB, free: 11.11 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.738, allocations: 0 / 1.795 GB, free: 11.11 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/1.738, allocations: 11.95 kB / 1.795 GB, free: 11.1 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/1.738, allocations: 4 kB / 1.795 GB, free: 11.1 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/1.738, allocations: 177.6 kB / 1.795 GB, free: 10.93 MB / 1.104 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.001974/1.74, allocations: 0.9459 MB / 1.796 GB, free: 9.898 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/1.741, allocations: 144.9 kB / 1.796 GB, free: 9.75 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003964/1.741, allocations: 336.4 kB / 1.796 GB, free: 9.348 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/1.741, allocations: 38.56 kB / 1.796 GB, free: 9.301 MB / 1.104 GB Notification: Performance of pre-optimization done (n=14): time 2.304e-06/1.741, allocations: 0 / 1.796 GB, free: 9.301 MB / 1.104 GB Notification: Performance of matching and sorting (n=14): time 0.0007196/1.742, allocations: 253.2 kB / 1.796 GB, free: 9.047 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/1.742, allocations: 55.41 kB / 1.796 GB, free: 8.98 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005961/1.743, allocations: 429.1 kB / 1.797 GB, free: 8.551 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/1.743, allocations: 29.7 kB / 1.797 GB, free: 8.516 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/1.743, allocations: 236.6 kB / 1.797 GB, free: 8.281 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/1.743, allocations: 39.36 kB / 1.797 GB, free: 8.242 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/1.743, allocations: 4 kB / 1.797 GB, free: 8.238 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.743, allocations: 358.8 kB / 1.797 GB, free: 7.879 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/1.743, allocations: 67.95 kB / 1.798 GB, free: 7.812 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/1.744, allocations: 175.1 kB / 1.798 GB, free: 7.602 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/1.744, allocations: 92.77 kB / 1.798 GB, free: 7.512 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.744, allocations: 4 kB / 1.798 GB, free: 7.508 MB / 1.104 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005417/1.744, allocations: 254.2 kB / 1.798 GB, free: 7.254 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/1.744, allocations: 283.6 kB / 1.798 GB, free: 6.957 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.745, allocations: 0 / 1.798 GB, free: 6.957 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.745, allocations: 4 kB / 1.798 GB, free: 6.953 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/1.745, allocations: 47.91 kB / 1.798 GB, free: 6.906 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/1.745, allocations: 0 / 1.798 GB, free: 6.906 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/1.745, allocations: 51.75 kB / 1.798 GB, free: 6.855 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/1.745, allocations: 15.98 kB / 1.798 GB, free: 6.84 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.745, allocations: 4 kB / 1.798 GB, free: 6.836 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004211/1.746, allocations: 184.8 kB / 1.799 GB, free: 6.656 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-06/1.746, allocations: 0 / 1.799 GB, free: 6.656 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-06/1.746, allocations: 4 kB / 1.799 GB, free: 6.652 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/1.746, allocations: 51.91 kB / 1.799 GB, free: 6.602 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/1.746, allocations: 0 / 1.799 GB, free: 6.602 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/1.746, allocations: 39.81 kB / 1.799 GB, free: 6.562 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/1.746, allocations: 19.98 kB / 1.799 GB, free: 6.543 MB / 1.104 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.0002657/1.747, allocations: 249 kB / 1.799 GB, free: 6.289 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/1.747, allocations: 43.44 kB / 1.799 GB, free: 6.246 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006132/1.747, allocations: 258.8 kB / 1.799 GB, free: 5.988 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/1.747, allocations: 0 / 1.799 GB, free: 5.988 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.748, allocations: 4 kB / 1.799 GB, free: 5.984 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.748, allocations: 3.984 kB / 1.799 GB, free: 5.98 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/1.749, allocations: 0.7238 MB / 1.8 GB, free: 5.188 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.749, allocations: 0 / 1.8 GB, free: 5.188 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/1.749, allocations: 31.98 kB / 1.8 GB, free: 5.156 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-05/1.749, allocations: 4 kB / 1.8 GB, free: 5.152 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/1.749, allocations: 8.062 kB / 1.8 GB, free: 5.145 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/1.749, allocations: 7.953 kB / 1.8 GB, free: 5.137 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.749, allocations: 0 / 1.8 GB, free: 5.137 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005471/1.749, allocations: 401.2 kB / 1.8 GB, free: 4.691 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/1.75, allocations: 144.5 kB / 1.801 GB, free: 4.531 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/1.75, allocations: 15.98 kB / 1.801 GB, free: 4.516 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/1.75, allocations: 27.97 kB / 1.801 GB, free: 4.488 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/1.75, allocations: 7.984 kB / 1.801 GB, free: 4.48 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/1.75, allocations: 8 kB / 1.801 GB, free: 4.473 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.0004052/1.751, allocations: 338.8 kB / 1.801 GB, free: 4.145 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.7e-07/1.751, allocations: 0 / 1.801 GB, free: 4.145 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0009351/1.752, allocations: 231.6 kB / 1.801 GB, free: 3.918 MB / 1.104 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.00234/1.754, allocations: 1.67 MB / 1.803 GB, free: 2.34 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.000787/1.755, allocations: 284.2 kB / 1.803 GB, free: 2.062 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.755, allocations: 0 / 1.803 GB, free: 2.062 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/1.755, allocations: 100.1 kB / 1.803 GB, free: 1.965 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/1.756, allocations: 221.6 kB / 1.803 GB, free: 1.754 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/1.759, allocations: 1.513 MB / 1.805 GB, free: 168 kB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/1.759, allocations: 0.8389 MB / 1.806 GB, free: 15.3 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.0004317/1.76, allocations: 95.16 kB / 1.806 GB, free: 15.2 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/1.76, allocations: 143.4 kB / 1.806 GB, free: 15.07 MB / 1.12 GB Notification: Performance of SimCode: time 7.02e-07/1.76, allocations: 0 / 1.806 GB, free: 15.07 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/1.796, allocations: 13.65 MB / 1.819 GB, free: 1.68 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/1.796, allocations: 242.3 kB / 1.819 GB, free: 1.434 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/4.341, allocations: 0 / 1.819 GB, free: 1.434 MB / 1.12 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat does not exist to compare? outputFormat=mat