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.622/2.622, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001203/0.001203, allocations: 182.7 kB / 0.4901 GB, free: 2.242 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.83/1.83, allocations: 223.1 MB / 0.7992 GB, free: 15.72 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.001211/0.001211, allocations: 96.33 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003847, allocations: 11.42 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3111, allocations: 143 MB / 1.229 GB, free: 85.35 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.398, allocations: 402.7 MB / 1.622 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/1.398, allocations: 100.8 kB / 1.623 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.3921/1.79, allocations: 179.1 MB / 1.797 GB, free: 4.953 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.885e-06/1.79, allocations: 0 / 1.797 GB, free: 4.953 MB / 1.12 GB Notification: Performance of Transformations before backend: time 5.369e-05/1.79, allocations: 23.98 kB / 1.797 GB, free: 4.93 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.001754/1.792, allocations: 0.8739 MB / 1.798 GB, free: 4.008 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/1.792, allocations: 8.828 kB / 1.798 GB, free: 4 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.065e-05/1.792, allocations: 54.55 kB / 1.798 GB, free: 3.938 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/1.792, allocations: 79.19 kB / 1.798 GB, free: 3.859 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008543/1.793, allocations: 453.4 kB / 1.799 GB, free: 3.379 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/1.793, allocations: 20.56 kB / 1.799 GB, free: 3.359 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/1.793, allocations: 32 kB / 1.799 GB, free: 3.328 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/1.794, allocations: 286.2 kB / 1.799 GB, free: 3.023 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/1.794, allocations: 0 / 1.799 GB, free: 3.023 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/1.794, allocations: 8 kB / 1.799 GB, free: 3.016 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/1.794, allocations: 15.95 kB / 1.799 GB, free: 3 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/1.794, allocations: 202 kB / 1.799 GB, free: 2.805 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.002154/1.797, allocations: 1.496 MB / 1.801 GB, free: 1.199 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/1.797, allocations: 170.8 kB / 1.801 GB, free: 1.023 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/1.799, allocations: 1.303 MB / 1.802 GB, free: 15.53 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/1.799, allocations: 34.56 kB / 1.802 GB, free: 15.48 MB / 1.135 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/1.799, allocations: 0 / 1.802 GB, free: 15.48 MB / 1.135 GB Notification: Performance of matching and sorting (n=15): time 0.000631/1.799, allocations: 262.8 kB / 1.803 GB, free: 15.22 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.799, allocations: 55.34 kB / 1.803 GB, free: 15.16 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005831/1.8, allocations: 0.5214 MB / 1.803 GB, free: 14.63 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/1.8, allocations: 25.7 kB / 1.803 GB, free: 14.6 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/1.8, allocations: 272.2 kB / 1.803 GB, free: 14.32 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/1.8, allocations: 55.28 kB / 1.803 GB, free: 14.27 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/1.8, allocations: 4 kB / 1.804 GB, free: 14.27 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.8, allocations: 362.8 kB / 1.804 GB, free: 13.9 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/1.8, allocations: 72.52 kB / 1.804 GB, free: 13.83 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/1.801, allocations: 229.4 kB / 1.804 GB, free: 13.55 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/1.801, allocations: 100.4 kB / 1.804 GB, free: 13.45 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.801, allocations: 4 kB / 1.804 GB, free: 13.45 MB / 1.135 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005363/1.801, allocations: 322 kB / 1.805 GB, free: 13.12 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003112/1.802, allocations: 0.9678 MB / 1.805 GB, free: 12.08 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.802, allocations: 4 kB / 1.805 GB, free: 12.08 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.802, allocations: 7.938 kB / 1.805 GB, free: 12.07 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/1.802, allocations: 63.91 kB / 1.806 GB, free: 12.01 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.802, allocations: 7.938 kB / 1.806 GB, free: 12 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/1.803, allocations: 55.66 kB / 1.806 GB, free: 11.95 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/1.803, allocations: 15.98 kB / 1.806 GB, free: 11.93 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/1.803, allocations: 5.25 kB / 1.806 GB, free: 11.93 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004885/1.803, allocations: 244.9 kB / 1.806 GB, free: 11.69 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/1.803, allocations: 4 kB / 1.806 GB, free: 11.68 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-06/1.803, allocations: 4 kB / 1.806 GB, free: 11.68 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/1.803, allocations: 63.91 kB / 1.806 GB, free: 11.62 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/1.803, allocations: 4 kB / 1.806 GB, free: 11.61 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/1.804, allocations: 47.84 kB / 1.806 GB, free: 11.57 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/1.804, allocations: 19.98 kB / 1.806 GB, free: 11.55 MB / 1.135 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.000225/1.804, allocations: 264.9 kB / 1.806 GB, free: 11.28 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/1.804, allocations: 47.44 kB / 1.806 GB, free: 11.23 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/1.805, allocations: 270.8 kB / 1.807 GB, free: 10.96 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/1.805, allocations: 4 kB / 1.807 GB, free: 10.95 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.805, allocations: 0 / 1.807 GB, free: 10.95 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.805, allocations: 0 / 1.807 GB, free: 10.95 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/1.806, allocations: 0.7552 MB / 1.807 GB, free: 10.13 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.806, allocations: 0 / 1.807 GB, free: 10.13 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/1.806, allocations: 44.09 kB / 1.807 GB, free: 10.09 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/1.806, allocations: 4.125 kB / 1.807 GB, free: 10.08 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/1.806, allocations: 4 kB / 1.807 GB, free: 10.08 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/1.806, allocations: 4 kB / 1.807 GB, free: 10.07 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.806, allocations: 4 kB / 1.807 GB, free: 10.07 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/1.807, allocations: 418.4 kB / 1.808 GB, free: 9.609 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/1.807, allocations: 164.4 kB / 1.808 GB, free: 9.43 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/1.807, allocations: 0 / 1.808 GB, free: 9.43 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/1.807, allocations: 23.92 kB / 1.808 GB, free: 9.406 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/1.807, allocations: 19.94 kB / 1.808 GB, free: 9.387 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/1.807, allocations: 7.984 kB / 1.808 GB, free: 9.379 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0005051/1.808, allocations: 414.8 kB / 1.808 GB, free: 8.977 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.164e-06/1.808, allocations: 0 / 1.808 GB, free: 8.977 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0009623/1.809, allocations: 271.6 kB / 1.809 GB, free: 8.711 MB / 1.135 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.002665/1.811, allocations: 1.714 MB / 1.81 GB, free: 7.09 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0007925/1.812, allocations: 346.2 kB / 1.811 GB, free: 6.754 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.812, allocations: 192 / 1.811 GB, free: 6.754 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/1.812, allocations: 95.89 kB / 1.811 GB, free: 6.66 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/1.814, allocations: 260.3 kB / 1.811 GB, free: 6.41 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/1.816, allocations: 2.971 MB / 1.814 GB, free: 3.324 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/1.817, allocations: 0.8623 MB / 1.815 GB, free: 2.434 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0003916/1.817, allocations: 104.2 kB / 1.815 GB, free: 2.332 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/1.817, allocations: 163.4 kB / 1.815 GB, free: 2.172 MB / 1.135 GB Notification: Performance of SimCode: time 9.02e-07/1.817, allocations: 0 / 1.815 GB, free: 2.172 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/1.85, allocations: 16.03 MB / 1.831 GB, free: 2.418 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/1.85, allocations: 235.8 kB / 1.831 GB, free: 2.18 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/4.251, allocations: 8 kB / 1.831 GB, free: 2.172 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