Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.576/2.576, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001694/0.001693, allocations: 184.2 kB / 498.1 MB, free: 5.723 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.847/1.847, allocations: 223.2 MB / 0.7948 GB, free: 17.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.00124/0.00124, allocations: 92.33 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 11.91 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3201, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.193/1.513, allocations: 394.9 MB / 1.609 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004008/1.514, allocations: 93.78 kB / 1.609 GB, free: 0.5273 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.5531/2.067, allocations: 241.4 MB / 1.844 GB, free: 13.07 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.655e-06/2.067, allocations: 3.938 kB / 1.844 GB, free: 13.06 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.832e-05/2.067, allocations: 20 kB / 1.844 GB, free: 13.04 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002924/2.07, allocations: 1.091 MB / 1.846 GB, free: 11.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/2.07, allocations: 12.03 kB / 1.846 GB, free: 11.89 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002072/2.07, allocations: 82.53 kB / 1.846 GB, free: 11.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002763/2.071, allocations: 86.97 kB / 1.846 GB, free: 11.71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/2.072, allocations: 0.5228 MB / 1.846 GB, free: 11.15 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/2.072, allocations: 45 kB / 1.846 GB, free: 11.11 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/2.072, allocations: 48 kB / 1.846 GB, free: 11.06 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/2.073, allocations: 0.626 MB / 1.847 GB, free: 10.37 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/2.073, allocations: 0 / 1.847 GB, free: 10.37 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.848e-05/2.073, allocations: 20 kB / 1.847 GB, free: 10.35 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/2.074, allocations: 12 kB / 1.847 GB, free: 10.34 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/2.075, allocations: 0.5073 MB / 1.847 GB, free: 9.832 MB / 1.151 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.004136/2.079, allocations: 3.212 MB / 1.851 GB, free: 6.426 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/2.08, allocations: 353.6 kB / 1.851 GB, free: 6.07 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003686/2.08, allocations: 344.4 kB / 1.851 GB, free: 5.66 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/2.08, allocations: 38.56 kB / 1.851 GB, free: 5.613 MB / 1.151 GB Notification: Performance of pre-optimization done (n=38): time 2.796e-06/2.08, allocations: 0 / 1.851 GB, free: 5.613 MB / 1.151 GB Notification: Performance of matching and sorting (n=38): time 0.002155/2.082, allocations: 0.8316 MB / 1.852 GB, free: 4.754 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/2.082, allocations: 59.36 kB / 1.852 GB, free: 4.684 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006873/2.083, allocations: 0.5072 MB / 1.853 GB, free: 4.172 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.05e-05/2.083, allocations: 37.7 kB / 1.853 GB, free: 4.129 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/2.083, allocations: 328.4 kB / 1.853 GB, free: 3.801 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/2.083, allocations: 130.2 kB / 1.853 GB, free: 3.672 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/2.083, allocations: 12 kB / 1.853 GB, free: 3.66 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000171/2.084, allocations: 378.7 kB / 1.853 GB, free: 3.281 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/2.084, allocations: 213.2 kB / 1.854 GB, free: 3.074 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/2.085, allocations: 397 kB / 1.854 GB, free: 2.609 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/2.085, allocations: 256.6 kB / 1.854 GB, free: 2.355 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/2.085, allocations: 3.938 kB / 1.854 GB, free: 2.352 MB / 1.151 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001543/2.087, allocations: 0.7188 MB / 1.855 GB, free: 1.621 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007491/2.088, allocations: 1.755 MB / 1.857 GB, free: 15.73 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/2.088, allocations: 4 kB / 1.857 GB, free: 15.73 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006408/2.088, allocations: 148.7 kB / 1.857 GB, free: 15.58 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/2.089, allocations: 151.8 kB / 1.857 GB, free: 15.43 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006619/2.09, allocations: 0.6265 MB / 1.858 GB, free: 14.78 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000778/2.091, allocations: 115.3 kB / 1.858 GB, free: 14.66 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.968e-05/2.091, allocations: 31.98 kB / 1.858 GB, free: 14.63 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/2.091, allocations: 1.562 kB / 1.858 GB, free: 14.63 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001215/2.092, allocations: 0.615 MB / 1.858 GB, free: 14.02 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/2.092, allocations: 4 kB / 1.858 GB, free: 14.02 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/2.092, allocations: 8.141 kB / 1.858 GB, free: 14.01 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/2.093, allocations: 172.3 kB / 1.859 GB, free: 13.84 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/2.093, allocations: 8 kB / 1.859 GB, free: 13.83 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/2.093, allocations: 95.47 kB / 1.859 GB, free: 13.74 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/2.093, allocations: 39.97 kB / 1.859 GB, free: 13.7 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.0004082/2.094, allocations: 264.9 kB / 1.859 GB, free: 13.43 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/2.094, allocations: 67.11 kB / 1.859 GB, free: 13.36 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/2.095, allocations: 0.6706 MB / 1.86 GB, free: 12.68 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/2.095, allocations: 4 kB / 1.86 GB, free: 12.68 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/2.095, allocations: 0 / 1.86 GB, free: 12.68 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/2.095, allocations: 3.984 kB / 1.86 GB, free: 12.67 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/2.098, allocations: 1.379 MB / 1.861 GB, free: 11.22 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/2.098, allocations: 8.094 kB / 1.861 GB, free: 11.21 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/2.098, allocations: 91.88 kB / 1.861 GB, free: 11.12 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/2.099, allocations: 128.7 kB / 1.861 GB, free: 10.99 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/2.099, allocations: 19.98 kB / 1.861 GB, free: 10.97 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005929/2.099, allocations: 0.6342 MB / 1.862 GB, free: 10.31 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/2.099, allocations: 4.031 kB / 1.862 GB, free: 10.31 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/2.101, allocations: 0.7487 MB / 1.863 GB, free: 9.516 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/2.101, allocations: 200.1 kB / 1.863 GB, free: 9.301 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/2.101, allocations: 11.94 kB / 1.863 GB, free: 9.289 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/2.102, allocations: 63.89 kB / 1.863 GB, free: 9.227 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/2.102, allocations: 31.86 kB / 1.863 GB, free: 9.195 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/2.102, allocations: 23.98 kB / 1.863 GB, free: 9.172 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004695/2.102, allocations: 395.1 kB / 1.863 GB, free: 8.789 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/2.102, allocations: 0 / 1.863 GB, free: 8.789 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001424/2.104, allocations: 423.3 kB / 1.864 GB, free: 8.375 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.002543/2.106, allocations: 1.83 MB / 1.865 GB, free: 6.504 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002133/2.108, allocations: 0.8906 MB / 1.866 GB, free: 5.617 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/2.108, allocations: 0 / 1.866 GB, free: 5.617 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007043/2.109, allocations: 308 kB / 1.867 GB, free: 5.316 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/2.11, allocations: 259.1 kB / 1.867 GB, free: 5.07 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/2.114, allocations: 4.66 MB / 1.871 GB, free: 260 kB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5641/2.678, allocations: 0.9301 MB / 1.872 GB, free: 365.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008352/2.679, allocations: 144.9 kB / 1.872 GB, free: 365.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/2.68, allocations: 246.1 kB / 1.873 GB, free: 365.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.122e-06/2.68, allocations: 0 / 1.873 GB, free: 365.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04441/2.724, allocations: 19.06 MB / 1.891 GB, free: 365.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/2.724, allocations: 272.6 kB / 1.892 GB, free: 364.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/5.13, allocations: 0 / 1.892 GB, free: 364.7 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent_res.mat does not exist to compare? outputFormat=mat