Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001377/0.001377, allocations: 184.9 kB / 492.3 MB, free: 0.6367 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.729/1.729, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001054/0.001054, allocations: 95.88 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.654e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3221, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/1.597, allocations: 401.8 MB / 1.605 GB, free: 12.11 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/1.598, allocations: 97.31 kB / 1.605 GB, free: 12.06 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.247/2.844, allocations: 178.5 MB / 1.779 GB, free: 373.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.064e-06/2.844, allocations: 0 / 1.779 GB, free: 373.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.59e-05/2.845, allocations: 15.39 kB / 1.779 GB, free: 373.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.0014/2.846, allocations: 0.7782 MB / 1.78 GB, free: 372.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/2.846, allocations: 8.688 kB / 1.78 GB, free: 372.5 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.704e-05/2.846, allocations: 63.39 kB / 1.78 GB, free: 372.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/2.846, allocations: 69.34 kB / 1.78 GB, free: 372.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008953/2.847, allocations: 456.4 kB / 1.781 GB, free: 372.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/2.847, allocations: 24.16 kB / 1.781 GB, free: 372.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/2.847, allocations: 28.38 kB / 1.781 GB, free: 372.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/2.848, allocations: 265.5 kB / 1.781 GB, free: 372.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/2.848, allocations: 2.812 kB / 1.781 GB, free: 372.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/2.848, allocations: 10.28 kB / 1.781 GB, free: 372.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/2.848, allocations: 6.156 kB / 1.781 GB, free: 372.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/2.848, allocations: 162 kB / 1.781 GB, free: 372.1 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.002156/2.85, allocations: 1.508 MB / 1.783 GB, free: 371.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/2.851, allocations: 145.2 kB / 1.783 GB, free: 371.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/2.851, allocations: 67.98 kB / 1.783 GB, free: 371.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001669/2.852, allocations: 1.318 MB / 1.784 GB, free: 370.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/2.853, allocations: 39.25 kB / 1.784 GB, free: 370.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 2.925e-06/2.853, allocations: 0 / 1.784 GB, free: 370.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0004258/2.853, allocations: 167.8 kB / 1.784 GB, free: 370 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/2.853, allocations: 56.08 kB / 1.784 GB, free: 369.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007941/2.854, allocations: 0.5119 MB / 1.785 GB, free: 369.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/2.854, allocations: 31.52 kB / 1.785 GB, free: 369.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/2.854, allocations: 268.6 kB / 1.785 GB, free: 369.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/2.854, allocations: 53.55 kB / 1.785 GB, free: 369.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/2.854, allocations: 5.625 kB / 1.785 GB, free: 369.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000123/2.854, allocations: 361.8 kB / 1.785 GB, free: 369.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/2.854, allocations: 53.06 kB / 1.786 GB, free: 369.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/2.855, allocations: 213.5 kB / 1.786 GB, free: 369.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/2.855, allocations: 92.55 kB / 1.786 GB, free: 369.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/2.855, allocations: 1.094 kB / 1.786 GB, free: 369.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005325/2.855, allocations: 281.5 kB / 1.786 GB, free: 369.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002715/2.856, allocations: 0.9584 MB / 1.787 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/2.856, allocations: 5.625 kB / 1.787 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/2.856, allocations: 4.969 kB / 1.787 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/2.856, allocations: 70.11 kB / 1.787 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/2.856, allocations: 8.438 kB / 1.787 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/2.857, allocations: 54.62 kB / 1.787 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/2.857, allocations: 16.5 kB / 1.787 GB, free: 368.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/2.857, allocations: 4.938 kB / 1.787 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003811/2.857, allocations: 209.9 kB / 1.787 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/2.857, allocations: 2.219 kB / 1.787 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/2.857, allocations: 4.719 kB / 1.787 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/2.857, allocations: 61.88 kB / 1.787 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/2.857, allocations: 8.281 kB / 1.787 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/2.858, allocations: 51.25 kB / 1.788 GB, free: 368.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/2.858, allocations: 11.06 kB / 1.788 GB, free: 368.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.0001095/2.858, allocations: 138.7 kB / 1.788 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/2.858, allocations: 45.72 kB / 1.788 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005203/2.858, allocations: 233.2 kB / 1.788 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/2.858, allocations: 6.219 kB / 1.788 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/2.858, allocations: 2.906 kB / 1.788 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/2.858, allocations: 0 / 1.788 GB, free: 367.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/2.86, allocations: 0.7269 MB / 1.789 GB, free: 367.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/2.86, allocations: 3.656 kB / 1.789 GB, free: 367.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/2.86, allocations: 35.27 kB / 1.789 GB, free: 367.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/2.86, allocations: 2.438 kB / 1.789 GB, free: 367.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/2.86, allocations: 2.5 kB / 1.789 GB, free: 367.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/2.86, allocations: 2.5 kB / 1.789 GB, free: 367.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/2.86, allocations: 1.031 kB / 1.789 GB, free: 367.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/2.86, allocations: 373.9 kB / 1.789 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/2.86, allocations: 162.1 kB / 1.789 GB, free: 367.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/2.861, allocations: 11.25 kB / 1.789 GB, free: 367.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/2.861, allocations: 18.03 kB / 1.789 GB, free: 367.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/2.861, allocations: 20.33 kB / 1.789 GB, free: 367.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/2.861, allocations: 9.016 kB / 1.789 GB, free: 367.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005595/2.861, allocations: 410.2 kB / 1.79 GB, free: 367.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/2.861, allocations: 0 / 1.79 GB, free: 367.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001215/2.863, allocations: 270.6 kB / 1.79 GB, free: 367 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.002156/2.865, allocations: 1.658 MB / 1.792 GB, free: 365.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007878/2.866, allocations: 310.4 kB / 1.792 GB, free: 365.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/2.866, allocations: 1.219 kB / 1.792 GB, free: 365.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/2.866, allocations: 73.11 kB / 1.792 GB, free: 365.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/2.867, allocations: 247.6 kB / 1.792 GB, free: 365.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/2.869, allocations: 0.7323 MB / 1.793 GB, free: 365.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/2.87, allocations: 0.8521 MB / 1.794 GB, free: 364.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007406/2.87, allocations: 189.7 kB / 1.794 GB, free: 364.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/2.871, allocations: 155.5 kB / 1.794 GB, free: 364.9 MB / 1.151 GB Notification: Performance of SimCode: time 9.92e-07/2.871, allocations: 0 / 1.794 GB, free: 364.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/2.905, allocations: 17.14 MB / 1.811 GB, free: 364.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/2.905, allocations: 200.8 kB / 1.811 GB, free: 364 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/5.52, allocations: 0 / 1.811 GB, free: 364 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat does not exist to compare? outputFormat=mat