Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.354/2.354, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001103/0.001103, allocations: 184.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0009495/0.0009496, allocations: 103.7 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.702e-05/3.705e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2852, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.497, allocations: 402.6 MB / 1.612 GB, free: 15.51 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.497, allocations: 101.3 kB / 1.612 GB, free: 15.46 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.135/2.632, allocations: 178.5 MB / 1.786 GB, free: 368.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.744e-06/2.632, allocations: 0 / 1.786 GB, free: 368.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.28e-05/2.632, allocations: 15.62 kB / 1.786 GB, free: 368.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001662/2.634, allocations: 0.7814 MB / 1.787 GB, free: 367.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/2.634, allocations: 7.094 kB / 1.787 GB, free: 367.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.915e-05/2.634, allocations: 65.22 kB / 1.787 GB, free: 367.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/2.634, allocations: 64.52 kB / 1.787 GB, free: 367.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009012/2.635, allocations: 452.9 kB / 1.788 GB, free: 367 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/2.635, allocations: 21.09 kB / 1.788 GB, free: 367 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/2.635, allocations: 26.22 kB / 1.788 GB, free: 367 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/2.636, allocations: 265.8 kB / 1.788 GB, free: 366.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/2.636, allocations: 4 kB / 1.788 GB, free: 366.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/2.636, allocations: 11.91 kB / 1.788 GB, free: 366.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/2.636, allocations: 7.797 kB / 1.788 GB, free: 366.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/2.636, allocations: 156.1 kB / 1.788 GB, free: 366.7 MB / 1.151 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.001908/2.638, allocations: 1.511 MB / 1.79 GB, free: 365.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/2.638, allocations: 145 kB / 1.79 GB, free: 365.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.764e-05/2.638, allocations: 73.34 kB / 1.79 GB, free: 365.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/2.64, allocations: 1.31 MB / 1.791 GB, free: 364 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/2.64, allocations: 33.72 kB / 1.791 GB, free: 363.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.963e-06/2.64, allocations: 0 / 1.791 GB, free: 363.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0004126/2.64, allocations: 176.3 kB / 1.791 GB, free: 363.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/2.64, allocations: 55.41 kB / 1.791 GB, free: 363.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006024/2.641, allocations: 0.5161 MB / 1.792 GB, free: 363.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/2.641, allocations: 29.7 kB / 1.792 GB, free: 363.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/2.641, allocations: 272.6 kB / 1.792 GB, free: 363.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/2.641, allocations: 54.42 kB / 1.792 GB, free: 363.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/2.641, allocations: 7.938 kB / 1.792 GB, free: 363.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001396/2.641, allocations: 357.5 kB / 1.793 GB, free: 362.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/2.641, allocations: 55.3 kB / 1.793 GB, free: 362.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/2.641, allocations: 213.2 kB / 1.793 GB, free: 362.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/2.642, allocations: 85.81 kB / 1.793 GB, free: 362.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/2.642, allocations: 0 / 1.793 GB, free: 362.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004343/2.642, allocations: 280.9 kB / 1.793 GB, free: 362.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002568/2.642, allocations: 0.9659 MB / 1.794 GB, free: 361.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/2.642, allocations: 3.984 kB / 1.794 GB, free: 361.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/2.642, allocations: 11.2 kB / 1.794 GB, free: 361.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/2.643, allocations: 66.69 kB / 1.794 GB, free: 361.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/2.643, allocations: 3.969 kB / 1.794 GB, free: 361.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/2.643, allocations: 51.28 kB / 1.794 GB, free: 361.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/2.643, allocations: 11.78 kB / 1.794 GB, free: 361.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/2.643, allocations: 3.875 kB / 1.794 GB, free: 361.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000329/2.643, allocations: 209.1 kB / 1.795 GB, free: 361.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/2.643, allocations: 3.781 kB / 1.795 GB, free: 361.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/2.643, allocations: 3.312 kB / 1.795 GB, free: 361.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/2.644, allocations: 70.27 kB / 1.795 GB, free: 361.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/2.644, allocations: 7.812 kB / 1.795 GB, free: 361.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/2.644, allocations: 53.66 kB / 1.795 GB, free: 361.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/2.644, allocations: 17.39 kB / 1.795 GB, free: 361.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001059/2.644, allocations: 120.5 kB / 1.795 GB, free: 361 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.262e-05/2.644, allocations: 47.16 kB / 1.795 GB, free: 361 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/2.645, allocations: 242.6 kB / 1.795 GB, free: 360.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/2.645, allocations: 3.969 kB / 1.795 GB, free: 360.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/2.645, allocations: 0 / 1.795 GB, free: 360.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/2.645, allocations: 3.984 kB / 1.795 GB, free: 360.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009094/2.646, allocations: 0.7192 MB / 1.796 GB, free: 360.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/2.646, allocations: 128 / 1.796 GB, free: 360.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/2.646, allocations: 43.03 kB / 1.796 GB, free: 360.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/2.646, allocations: 3.562 kB / 1.796 GB, free: 360.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/2.646, allocations: 4 kB / 1.796 GB, free: 360.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/2.646, allocations: 7.875 kB / 1.796 GB, free: 360.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.646, allocations: 3.984 kB / 1.796 GB, free: 360.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/2.646, allocations: 380.3 kB / 1.796 GB, free: 359.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/2.647, allocations: 155 kB / 1.796 GB, free: 359.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/2.647, allocations: 7.984 kB / 1.796 GB, free: 359.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/2.647, allocations: 19.73 kB / 1.796 GB, free: 359.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/2.647, allocations: 19.78 kB / 1.796 GB, free: 359.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/2.647, allocations: 3.969 kB / 1.796 GB, free: 359.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004475/2.647, allocations: 412.3 kB / 1.797 GB, free: 359.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.01e-07/2.647, allocations: 0 / 1.797 GB, free: 359.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009378/2.648, allocations: 262.5 kB / 1.797 GB, free: 359.4 MB / 1.151 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 (17): * Single equations (assignments): 15 * 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.001988/2.65, allocations: 1.66 MB / 1.799 GB, free: 358.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005658/2.651, allocations: 308.2 kB / 1.799 GB, free: 358 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/2.651, allocations: 0 / 1.799 GB, free: 358 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/2.651, allocations: 75.8 kB / 1.799 GB, free: 358 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/2.652, allocations: 254.9 kB / 1.799 GB, free: 357.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/2.654, allocations: 0.7172 MB / 1.8 GB, free: 357.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/2.654, allocations: 0.8587 MB / 1.801 GB, free: 356.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006581/2.655, allocations: 188.4 kB / 1.801 GB, free: 356.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/2.655, allocations: 154.4 kB / 1.801 GB, free: 356.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.302e-06/2.655, allocations: 0 / 1.801 GB, free: 356.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/2.689, allocations: 17.14 MB / 1.818 GB, free: 345.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/2.689, allocations: 205.4 kB / 1.818 GB, free: 345.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/5.218, allocations: 3.938 kB / 1.818 GB, free: 345.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat does not exist to compare? outputFormat=mat