Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.321/2.321, allocations: 390.3 MB / 405.3 MB, free: 13.57 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.001629/0.001629, allocations: 185 kB / 498.1 MB, free: 5.793 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.705/1.705, allocations: 223.2 MB / 0.7948 GB, free: 18.81 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.001186/0.001186, allocations: 98.84 kB / 0.9346 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004054, allocations: 9.5 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3187, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.096/5.415, allocations: 2.155 GB / 3.378 GB, free: 235.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/5.415, allocations: 90.98 kB / 3.378 GB, free: 235.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.873/7.287, allocations: 0.6592 GB / 4.037 GB, free: 36.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.443e-06/7.287, allocations: 4 kB / 4.037 GB, free: 36.59 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001672/7.288, allocations: 35.98 kB / 4.037 GB, free: 36.56 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005914/7.294, allocations: 1.649 MB / 4.039 GB, free: 34.85 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/7.294, allocations: 8.031 kB / 4.039 GB, free: 34.84 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005105/7.294, allocations: 110.5 kB / 4.039 GB, free: 34.72 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/7.297, allocations: 0.5294 MB / 4.039 GB, free: 34.19 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02651/7.324, allocations: 13.23 MB / 4.052 GB, free: 20.79 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00115/7.325, allocations: 325.2 kB / 4.053 GB, free: 20.47 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000323/7.325, allocations: 68 kB / 4.053 GB, free: 20.41 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/7.328, allocations: 1.163 MB / 4.054 GB, free: 19.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/7.328, allocations: 0 / 4.054 GB, free: 19.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/7.328, allocations: 28 kB / 4.054 GB, free: 19.18 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.627e-05/7.328, allocations: 33.3 kB / 4.054 GB, free: 19.14 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002812/7.331, allocations: 1.172 MB / 4.055 GB, free: 17.97 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.006816/7.338, allocations: 3.314 MB / 4.058 GB, free: 14.58 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/7.339, allocations: 0.7011 MB / 4.059 GB, free: 13.87 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007194/7.34, allocations: 1.029 MB / 4.06 GB, free: 12.62 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009899/7.341, allocations: 0.5377 MB / 4.06 GB, free: 12.05 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 3.697e-06/7.341, allocations: 0 / 4.06 GB, free: 12.05 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.003046/7.344, allocations: 1.371 MB / 4.062 GB, free: 10.65 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/7.344, allocations: 136.9 kB / 4.062 GB, free: 10.49 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/7.346, allocations: 1.092 MB / 4.063 GB, free: 9.383 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002208/7.347, allocations: 41.7 kB / 4.063 GB, free: 9.336 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/7.347, allocations: 433.9 kB / 4.063 GB, free: 8.91 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/7.347, allocations: 193.2 kB / 4.064 GB, free: 8.719 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/7.347, allocations: 12 kB / 4.064 GB, free: 8.707 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.803e-05/7.347, allocations: 326 kB / 4.064 GB, free: 8.383 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/7.349, allocations: 0.493 MB / 4.064 GB, free: 7.887 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/7.35, allocations: 0.6991 MB / 4.065 GB, free: 7.113 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/7.351, allocations: 0.549 MB / 4.066 GB, free: 6.559 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/7.351, allocations: 4 kB / 4.066 GB, free: 6.555 MB / 1.167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003065/7.354, allocations: 1.328 MB / 4.067 GB, free: 5.211 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/7.354, allocations: 37.7 kB / 4.067 GB, free: 5.168 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/7.354, allocations: 7.984 kB / 4.067 GB, free: 5.16 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/7.354, allocations: 4 kB / 4.067 GB, free: 5.156 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009649/7.355, allocations: 219.8 kB / 4.067 GB, free: 4.941 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/7.355, allocations: 11.94 kB / 4.067 GB, free: 4.93 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/7.357, allocations: 318.8 kB / 4.068 GB, free: 4.617 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/7.357, allocations: 47.97 kB / 4.068 GB, free: 4.57 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0006003/7.358, allocations: 323.3 kB / 4.068 GB, free: 4.238 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/7.358, allocations: 122.6 kB / 4.068 GB, free: 4.117 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/7.361, allocations: 1.046 MB / 4.069 GB, free: 3.051 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/7.361, allocations: 11.92 kB / 4.069 GB, free: 3.039 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/7.361, allocations: 7.953 kB / 4.069 GB, free: 3.031 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/7.361, allocations: 0 / 4.069 GB, free: 3.031 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5816/7.942, allocations: 3.248 MB / 4.072 GB, free: 257.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/7.942, allocations: 8.141 kB / 4.072 GB, free: 257.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/7.943, allocations: 129.8 kB / 4.072 GB, free: 257.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/7.943, allocations: 13.33 kB / 4.072 GB, free: 257.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.942e-05/7.943, allocations: 28.97 kB / 4.072 GB, free: 257.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/7.943, allocations: 15.44 kB / 4.072 GB, free: 257.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/7.943, allocations: 8 kB / 4.072 GB, free: 257.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/7.946, allocations: 1.806 MB / 4.074 GB, free: 256.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006919/7.946, allocations: 337.7 kB / 4.074 GB, free: 256.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/7.947, allocations: 22.62 kB / 4.075 GB, free: 256.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/7.948, allocations: 131.2 kB / 4.075 GB, free: 256.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/7.948, allocations: 63.36 kB / 4.075 GB, free: 256.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.726e-05/7.948, allocations: 45.53 kB / 4.075 GB, free: 256.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001715/7.95, allocations: 0.88 MB / 4.076 GB, free: 256 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/7.95, allocations: 1.75 kB / 4.076 GB, free: 256 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001749/7.952, allocations: 431.7 kB / 4.076 GB, free: 256 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.00558/7.957, allocations: 5.895 MB / 4.082 GB, free: 252.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002655/7.96, allocations: 1.072 MB / 4.083 GB, free: 252 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/7.96, allocations: 4.938 kB / 4.083 GB, free: 252 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/7.961, allocations: 0.5277 MB / 4.083 GB, free: 252 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/7.964, allocations: 0.5312 MB / 4.084 GB, free: 251.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/7.978, allocations: 9.208 MB / 4.093 GB, free: 247.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007076/7.979, allocations: 1.092 MB / 4.094 GB, free: 247 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001536/7.981, allocations: 283 kB / 4.094 GB, free: 247 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/7.981, allocations: 363.2 kB / 4.095 GB, free: 247 MB / 1.167 GB Notification: Performance of SimCode: time 1.303e-06/7.981, allocations: 7.062 kB / 4.095 GB, free: 247 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08254/8.064, allocations: 51.82 MB / 4.145 GB, free: 246.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/8.064, allocations: 239.3 kB / 4.145 GB, free: 246.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.611/11.67, allocations: 2.156 kB / 4.145 GB, free: 246.1 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat does not exist to compare? outputFormat=mat