Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001382/0.001382, allocations: 173.1 kB / 498.1 MB, free: 5.688 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.664/1.664, allocations: 223.1 MB / 0.7948 GB, free: 17.86 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.0009669/0.0009666, allocations: 104.9 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 8.719 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2758, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.972/1.248, allocations: 397.3 MB / 1.611 GB, free: 14.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/1.248, allocations: 102.3 kB / 1.611 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.3777/1.626, allocations: 179 MB / 1.786 GB, free: 9.809 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.315e-06/1.626, allocations: 0 / 1.786 GB, free: 9.809 MB / 1.089 GB Notification: Performance of Transformations before backend: time 7.895e-05/1.626, allocations: 15.94 kB / 1.786 GB, free: 9.793 MB / 1.089 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.002076/1.628, allocations: 0.8194 MB / 1.787 GB, free: 8.922 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 6.707e-05/1.628, allocations: 16.03 kB / 1.787 GB, free: 8.906 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/1.628, allocations: 66.42 kB / 1.787 GB, free: 8.832 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/1.629, allocations: 55.34 kB / 1.787 GB, free: 8.777 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/1.63, allocations: 425.5 kB / 1.787 GB, free: 8.32 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/1.63, allocations: 24.42 kB / 1.787 GB, free: 8.293 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/1.63, allocations: 28 kB / 1.787 GB, free: 8.266 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/1.631, allocations: 211.2 kB / 1.787 GB, free: 8.055 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.631, allocations: 0 / 1.787 GB, free: 8.055 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/1.631, allocations: 15.95 kB / 1.787 GB, free: 8.039 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/1.631, allocations: 4 kB / 1.787 GB, free: 8.035 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/1.631, allocations: 165.6 kB / 1.788 GB, free: 7.871 MB / 1.089 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.002197/1.633, allocations: 0.9614 MB / 1.789 GB, free: 6.832 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/1.634, allocations: 130.6 kB / 1.789 GB, free: 6.695 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004376/1.634, allocations: 336.4 kB / 1.789 GB, free: 6.293 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/1.634, allocations: 46.42 kB / 1.789 GB, free: 6.238 MB / 1.089 GB Notification: Performance of pre-optimization done (n=14): time 2.785e-06/1.634, allocations: 0 / 1.789 GB, free: 6.238 MB / 1.089 GB Notification: Performance of matching and sorting (n=14): time 0.0008097/1.635, allocations: 249.4 kB / 1.789 GB, free: 5.988 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/1.635, allocations: 55.41 kB / 1.789 GB, free: 5.922 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000646/1.636, allocations: 417.1 kB / 1.79 GB, free: 5.504 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/1.636, allocations: 37.7 kB / 1.79 GB, free: 5.461 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/1.636, allocations: 228.6 kB / 1.79 GB, free: 5.234 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/1.636, allocations: 47.36 kB / 1.79 GB, free: 5.188 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/1.636, allocations: 4 kB / 1.79 GB, free: 5.184 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.636, allocations: 354.7 kB / 1.79 GB, free: 4.828 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/1.636, allocations: 67.95 kB / 1.79 GB, free: 4.762 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/1.637, allocations: 181.7 kB / 1.791 GB, free: 4.547 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/1.637, allocations: 85.38 kB / 1.791 GB, free: 4.465 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.637, allocations: 0 / 1.791 GB, free: 4.465 MB / 1.089 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005885/1.638, allocations: 264.9 kB / 1.791 GB, free: 4.199 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/1.638, allocations: 276.3 kB / 1.791 GB, free: 3.91 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.638, allocations: 0 / 1.791 GB, free: 3.91 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/1.638, allocations: 0 / 1.791 GB, free: 3.91 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/1.638, allocations: 59.91 kB / 1.791 GB, free: 3.852 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/1.638, allocations: 7.922 kB / 1.791 GB, free: 3.844 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/1.639, allocations: 51.73 kB / 1.791 GB, free: 3.793 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/1.639, allocations: 8 kB / 1.791 GB, free: 3.785 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.639, allocations: 8 kB / 1.791 GB, free: 3.777 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004469/1.639, allocations: 180.7 kB / 1.791 GB, free: 3.602 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/1.639, allocations: 4 kB / 1.791 GB, free: 3.598 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/1.639, allocations: 3.984 kB / 1.791 GB, free: 3.594 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/1.639, allocations: 47.98 kB / 1.792 GB, free: 3.547 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/1.639, allocations: 11.92 kB / 1.792 GB, free: 3.535 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/1.64, allocations: 39.81 kB / 1.792 GB, free: 3.496 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/1.64, allocations: 12.19 kB / 1.792 GB, free: 3.484 MB / 1.089 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.0003362/1.64, allocations: 245 kB / 1.792 GB, free: 3.234 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/1.64, allocations: 43.44 kB / 1.792 GB, free: 3.191 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006635/1.641, allocations: 274.2 kB / 1.792 GB, free: 2.918 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/1.641, allocations: 0 / 1.792 GB, free: 2.918 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.641, allocations: 0 / 1.792 GB, free: 2.918 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.641, allocations: 0 / 1.792 GB, free: 2.918 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/1.642, allocations: 0.7161 MB / 1.793 GB, free: 2.133 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.642, allocations: 4 kB / 1.793 GB, free: 2.129 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/1.642, allocations: 31.92 kB / 1.793 GB, free: 2.098 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/1.643, allocations: 3.984 kB / 1.793 GB, free: 2.094 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/1.643, allocations: 8 kB / 1.793 GB, free: 2.086 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/1.643, allocations: 7.953 kB / 1.793 GB, free: 2.078 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/1.643, allocations: 128 / 1.793 GB, free: 2.078 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/1.643, allocations: 393.1 kB / 1.793 GB, free: 1.641 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/1.643, allocations: 148.4 kB / 1.793 GB, free: 1.477 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/1.643, allocations: 15.92 kB / 1.793 GB, free: 1.461 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/1.644, allocations: 19.98 kB / 1.793 GB, free: 1.441 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/1.644, allocations: 19.97 kB / 1.793 GB, free: 1.422 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/1.644, allocations: 4 kB / 1.793 GB, free: 1.418 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0004039/1.644, allocations: 334.8 kB / 1.794 GB, free: 1.094 MB / 1.089 GB Notification: Performance of sort global known variables: time 3e-07/1.644, allocations: 0 / 1.794 GB, free: 1.094 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0008376/1.645, allocations: 231.6 kB / 1.794 GB, free: 0.8672 MB / 1.089 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.002174/1.647, allocations: 1.679 MB / 1.796 GB, free: 15.28 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0007225/1.648, allocations: 290.3 kB / 1.796 GB, free: 15 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.648, allocations: 0 / 1.796 GB, free: 15 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/1.648, allocations: 91.83 kB / 1.796 GB, free: 14.91 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/1.649, allocations: 221.2 kB / 1.796 GB, free: 14.7 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/1.651, allocations: 1.501 MB / 1.798 GB, free: 13.12 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/1.652, allocations: 0.8349 MB / 1.798 GB, free: 12.26 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.0003865/1.652, allocations: 95.16 kB / 1.799 GB, free: 12.16 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/1.652, allocations: 139.4 kB / 1.799 GB, free: 12.03 MB / 1.104 GB Notification: Performance of SimCode: time 3.61e-07/1.652, allocations: 4 kB / 1.799 GB, free: 12.02 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/1.681, allocations: 13.65 MB / 1.812 GB, free: 14.62 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/1.682, allocations: 228.2 kB / 1.812 GB, free: 14.39 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/4.031, allocations: 0 / 1.812 GB, free: 14.39 MB / 1.12 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat does not exist to compare? outputFormat=mat