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.343/2.343, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001802/0.001802, allocations: 177.1 kB / 498.1 MB, free: 5.742 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.741/1.741, allocations: 223.1 MB / 0.7948 GB, free: 18.89 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.0009888/0.000989, allocations: 96.31 kB / 0.9346 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 11.67 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.297, allocations: 142.4 MB / 1.223 GB, free: 89.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.528, allocations: 401.8 MB / 1.615 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/1.528, allocations: 98.06 kB / 1.615 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.362/1.89, allocations: 179.1 MB / 1.79 GB, free: 13.35 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.583e-06/1.891, allocations: 4.156 kB / 1.79 GB, free: 13.35 MB / 1.12 GB Notification: Performance of Transformations before backend: time 4.244e-05/1.891, allocations: 15.94 kB / 1.79 GB, free: 13.33 MB / 1.12 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.00143/1.892, allocations: 0.8804 MB / 1.791 GB, free: 12.4 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.892, allocations: 8.031 kB / 1.791 GB, free: 12.39 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.499e-05/1.892, allocations: 54.55 kB / 1.791 GB, free: 12.33 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/1.892, allocations: 75.2 kB / 1.791 GB, free: 12.25 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007356/1.893, allocations: 453.4 kB / 1.792 GB, free: 11.77 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/1.893, allocations: 24.56 kB / 1.792 GB, free: 11.75 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/1.893, allocations: 32 kB / 1.792 GB, free: 11.72 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/1.894, allocations: 286.2 kB / 1.792 GB, free: 11.42 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.894, allocations: 3.938 kB / 1.792 GB, free: 11.42 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/1.894, allocations: 8 kB / 1.792 GB, free: 11.41 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.894, allocations: 7.953 kB / 1.792 GB, free: 11.4 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/1.894, allocations: 194.1 kB / 1.792 GB, free: 11.21 MB / 1.12 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.001882/1.896, allocations: 1.511 MB / 1.794 GB, free: 9.59 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/1.896, allocations: 170.8 kB / 1.794 GB, free: 9.414 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/1.898, allocations: 1.3 MB / 1.795 GB, free: 7.922 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/1.898, allocations: 34.55 kB / 1.795 GB, free: 7.879 MB / 1.12 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/1.898, allocations: 0 / 1.795 GB, free: 7.879 MB / 1.12 GB Notification: Performance of matching and sorting (n=15): time 0.0006036/1.898, allocations: 265.8 kB / 1.795 GB, free: 7.613 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/1.898, allocations: 51.41 kB / 1.796 GB, free: 7.551 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006109/1.899, allocations: 0.5175 MB / 1.796 GB, free: 7.027 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/1.899, allocations: 29.7 kB / 1.796 GB, free: 6.992 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/1.899, allocations: 276.2 kB / 1.796 GB, free: 6.715 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/1.899, allocations: 51.2 kB / 1.796 GB, free: 6.664 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/1.899, allocations: 8 kB / 1.796 GB, free: 6.656 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.9, allocations: 362.8 kB / 1.797 GB, free: 6.293 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/1.9, allocations: 72.52 kB / 1.797 GB, free: 6.219 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/1.9, allocations: 233.3 kB / 1.797 GB, free: 5.934 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/1.9, allocations: 100.7 kB / 1.797 GB, free: 5.836 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.9, allocations: 0 / 1.797 GB, free: 5.836 MB / 1.12 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005405/1.901, allocations: 321.9 kB / 1.797 GB, free: 5.516 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003222/1.901, allocations: 0.9576 MB / 1.798 GB, free: 4.484 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.901, allocations: 11.98 kB / 1.798 GB, free: 4.473 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/1.901, allocations: 4 kB / 1.798 GB, free: 4.469 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/1.901, allocations: 63.84 kB / 1.798 GB, free: 4.406 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/1.901, allocations: 4 kB / 1.798 GB, free: 4.402 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/1.902, allocations: 55.66 kB / 1.798 GB, free: 4.348 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/1.902, allocations: 16 kB / 1.799 GB, free: 4.332 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/1.902, allocations: 4 kB / 1.799 GB, free: 4.328 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004544/1.902, allocations: 248.8 kB / 1.799 GB, free: 4.086 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-06/1.902, allocations: 0 / 1.799 GB, free: 4.086 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-06/1.902, allocations: 7.938 kB / 1.799 GB, free: 4.078 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/1.903, allocations: 71.84 kB / 1.799 GB, free: 4.008 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/1.903, allocations: 4 kB / 1.799 GB, free: 4.004 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/1.903, allocations: 47.81 kB / 1.799 GB, free: 3.957 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/1.903, allocations: 16 kB / 1.799 GB, free: 3.941 MB / 1.12 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 () * Number of clocked 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.0002177/1.903, allocations: 266.1 kB / 1.799 GB, free: 3.672 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/1.903, allocations: 51.42 kB / 1.799 GB, free: 3.621 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005302/1.904, allocations: 269.6 kB / 1.799 GB, free: 3.348 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.904, allocations: 4 kB / 1.799 GB, free: 3.344 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.904, allocations: 0 / 1.799 GB, free: 3.344 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.904, allocations: 0 / 1.799 GB, free: 3.344 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009925/1.905, allocations: 0.756 MB / 1.8 GB, free: 2.52 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/1.905, allocations: 0 / 1.8 GB, free: 2.52 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/1.905, allocations: 44.11 kB / 1.8 GB, free: 2.477 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.905, allocations: 4.125 kB / 1.8 GB, free: 2.473 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/1.905, allocations: 7.984 kB / 1.8 GB, free: 2.465 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/1.905, allocations: 0 / 1.8 GB, free: 2.465 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.905, allocations: 7.984 kB / 1.8 GB, free: 2.457 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/1.905, allocations: 409.6 kB / 1.801 GB, free: 2.004 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/1.906, allocations: 160.4 kB / 1.801 GB, free: 1.828 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/1.906, allocations: 7.984 kB / 1.801 GB, free: 1.82 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/1.906, allocations: 19.98 kB / 1.801 GB, free: 1.801 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/1.906, allocations: 19.94 kB / 1.801 GB, free: 1.781 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/1.906, allocations: 4 kB / 1.801 GB, free: 1.777 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0004256/1.906, allocations: 414.8 kB / 1.801 GB, free: 1.375 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.51e-07/1.906, allocations: 4 kB / 1.801 GB, free: 1.371 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0008589/1.907, allocations: 263.7 kB / 1.801 GB, free: 1.113 MB / 1.12 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 (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.002001/1.909, allocations: 1.729 MB / 1.803 GB, free: 15.47 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0007267/1.91, allocations: 348.4 kB / 1.804 GB, free: 15.13 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.91, allocations: 4.812 kB / 1.804 GB, free: 15.13 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/1.91, allocations: 93.27 kB / 1.804 GB, free: 15.04 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/1.912, allocations: 249.8 kB / 1.804 GB, free: 14.8 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/1.914, allocations: 2.983 MB / 1.807 GB, free: 11.7 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/1.914, allocations: 0.8623 MB / 1.808 GB, free: 10.81 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0003748/1.915, allocations: 108.2 kB / 1.808 GB, free: 10.71 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/1.915, allocations: 163.4 kB / 1.808 GB, free: 10.55 MB / 1.135 GB Notification: Performance of SimCode: time 4.81e-07/1.915, allocations: 0 / 1.808 GB, free: 10.55 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/1.946, allocations: 16.02 MB / 1.824 GB, free: 10.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/1.946, allocations: 230 kB / 1.824 GB, free: 10.56 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/4.232, allocations: 0 / 1.824 GB, free: 10.56 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