Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.462/2.462, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001558/0.001558, allocations: 183.9 kB / 0.4901 GB, free: 2.207 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.655/1.655, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.00105/0.00105, allocations: 98.16 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004673, allocations: 10.41 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3614, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.145/1.507, allocations: 395.7 MB / 1.616 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003676/1.507, allocations: 97.44 kB / 1.616 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.5595/2.067, allocations: 241.4 MB / 1.852 GB, free: 148 kB / 1.151 GB Notification: Performance of FrontEnd: time 3.506e-06/2.067, allocations: 0 / 1.852 GB, free: 148 kB / 1.151 GB Notification: Performance of Transformations before backend: time 9.286e-05/2.067, allocations: 31.86 kB / 1.852 GB, free: 116 kB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002853/2.07, allocations: 1.086 MB / 1.853 GB, free: 14.98 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/2.07, allocations: 8.031 kB / 1.853 GB, free: 14.97 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002126/2.07, allocations: 98.45 kB / 1.853 GB, free: 14.86 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/2.07, allocations: 82.97 kB / 1.853 GB, free: 14.78 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/2.072, allocations: 0.519 MB / 1.853 GB, free: 14.22 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/2.072, allocations: 37 kB / 1.853 GB, free: 14.18 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.813e-05/2.072, allocations: 52 kB / 1.853 GB, free: 14.13 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/2.073, allocations: 0.6254 MB / 1.854 GB, free: 13.44 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/2.073, allocations: 7.938 kB / 1.854 GB, free: 13.43 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/2.073, allocations: 24 kB / 1.854 GB, free: 13.41 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/2.073, allocations: 12 kB / 1.854 GB, free: 13.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/2.074, allocations: 0.4995 MB / 1.855 GB, free: 12.9 MB / 1.167 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.004081/2.078, allocations: 3.212 MB / 1.858 GB, free: 9.492 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007229/2.079, allocations: 345 kB / 1.858 GB, free: 9.145 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003566/2.079, allocations: 344.4 kB / 1.858 GB, free: 8.734 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/2.079, allocations: 38.56 kB / 1.858 GB, free: 8.688 MB / 1.167 GB Notification: Performance of pre-optimization done (n=38): time 2.104e-06/2.079, allocations: 0 / 1.858 GB, free: 8.688 MB / 1.167 GB Notification: Performance of matching and sorting (n=38): time 0.002167/2.082, allocations: 0.8421 MB / 1.859 GB, free: 7.816 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/2.082, allocations: 59.36 kB / 1.859 GB, free: 7.746 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/2.082, allocations: 0.5033 MB / 1.86 GB, free: 7.234 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/2.082, allocations: 37.7 kB / 1.86 GB, free: 7.191 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/2.083, allocations: 336.3 kB / 1.86 GB, free: 6.855 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/2.083, allocations: 126.2 kB / 1.86 GB, free: 6.73 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/2.083, allocations: 12 kB / 1.86 GB, free: 6.719 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001637/2.083, allocations: 370.8 kB / 1.861 GB, free: 6.348 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/2.084, allocations: 217.2 kB / 1.861 GB, free: 6.133 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/2.084, allocations: 404.2 kB / 1.861 GB, free: 5.664 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/2.085, allocations: 256.7 kB / 1.861 GB, free: 5.414 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/2.085, allocations: 0 / 1.861 GB, free: 5.414 MB / 1.167 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001505/2.086, allocations: 0.7184 MB / 1.862 GB, free: 4.684 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006978/2.087, allocations: 1.745 MB / 1.864 GB, free: 2.801 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/2.087, allocations: 8 kB / 1.864 GB, free: 2.793 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006417/2.088, allocations: 156.7 kB / 1.864 GB, free: 2.637 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/2.088, allocations: 155.8 kB / 1.864 GB, free: 2.484 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006587/2.089, allocations: 0.6226 MB / 1.865 GB, free: 1.836 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008036/2.09, allocations: 111.3 kB / 1.865 GB, free: 1.727 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/2.09, allocations: 31.98 kB / 1.865 GB, free: 1.695 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/2.09, allocations: 8 kB / 1.865 GB, free: 1.688 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001305/2.091, allocations: 0.6193 MB / 1.865 GB, free: 1.066 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/2.091, allocations: 4 kB / 1.865 GB, free: 1.062 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/2.091, allocations: 8 kB / 1.866 GB, free: 1.055 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/2.092, allocations: 159.8 kB / 1.866 GB, free: 0.8984 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/2.092, allocations: 11.92 kB / 1.866 GB, free: 0.8867 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007169/2.093, allocations: 91.64 kB / 1.866 GB, free: 0.7969 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/2.093, allocations: 35.98 kB / 1.866 GB, free: 0.7617 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004224/2.093, allocations: 276.8 kB / 1.866 GB, free: 492 kB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/2.093, allocations: 67.2 kB / 1.866 GB, free: 424 kB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.635/2.728, allocations: 0.6582 MB / 1.867 GB, free: 358.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/2.728, allocations: 9.125 kB / 1.867 GB, free: 358.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/2.728, allocations: 0 / 1.867 GB, free: 358.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/2.728, allocations: 3.656 kB / 1.867 GB, free: 358.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/2.731, allocations: 1.382 MB / 1.868 GB, free: 358.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/2.731, allocations: 2.625 kB / 1.868 GB, free: 358.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/2.732, allocations: 91.77 kB / 1.868 GB, free: 358.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/2.732, allocations: 133.6 kB / 1.868 GB, free: 358.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/2.732, allocations: 16.06 kB / 1.868 GB, free: 358.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005168/2.733, allocations: 0.6368 MB / 1.869 GB, free: 357.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/2.733, allocations: 2.375 kB / 1.869 GB, free: 357.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/2.734, allocations: 0.7502 MB / 1.87 GB, free: 357.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/2.734, allocations: 205 kB / 1.87 GB, free: 357.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/2.734, allocations: 8.5 kB / 1.87 GB, free: 357.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/2.735, allocations: 61.44 kB / 1.87 GB, free: 357.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/2.735, allocations: 28.91 kB / 1.87 GB, free: 357.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/2.735, allocations: 20.09 kB / 1.87 GB, free: 357.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004585/2.736, allocations: 398.1 kB / 1.87 GB, free: 357.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/2.736, allocations: 2.156 kB / 1.87 GB, free: 357.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001393/2.737, allocations: 424 kB / 1.871 GB, free: 357.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002416/2.739, allocations: 1.814 MB / 1.873 GB, free: 356.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002237/2.742, allocations: 0.9071 MB / 1.873 GB, free: 356.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/2.742, allocations: 0.6562 kB / 1.873 GB, free: 356.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007299/2.742, allocations: 299.5 kB / 1.874 GB, free: 356.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/2.744, allocations: 262.1 kB / 1.874 GB, free: 356.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/2.747, allocations: 4.649 MB / 1.879 GB, free: 352.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/2.748, allocations: 0.9269 MB / 1.879 GB, free: 351.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006875/2.748, allocations: 149.3 kB / 1.88 GB, free: 351.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/2.749, allocations: 242.1 kB / 1.88 GB, free: 351.9 MB / 1.167 GB Notification: Performance of SimCode: time 8.12e-07/2.749, allocations: 1.031 kB / 1.88 GB, free: 351.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0504/2.799, allocations: 19.06 MB / 1.898 GB, free: 351.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/2.799, allocations: 275.8 kB / 1.899 GB, free: 351.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/5.366, allocations: 2.594 kB / 1.899 GB, free: 351.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent_res.mat does not exist to compare? outputFormat=mat