Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.628/2.628, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001395/0.001395, allocations: 182.7 kB / 0.4901 GB, free: 2.238 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.665/1.665, allocations: 223.1 MB / 0.7992 GB, free: 14.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.001055/0.001055, allocations: 108.2 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.000439, allocations: 19.7 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3608, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.645/6.005, allocations: 1.868 GB / 3.097 GB, free: 83.92 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004017/6.006, allocations: 92.39 kB / 3.098 GB, free: 83.87 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.623/7.629, allocations: 300.8 MB / 3.391 GB, free: 260.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.158e-06/7.629, allocations: 0 / 3.391 GB, free: 260.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.667e-05/7.629, allocations: 11.98 kB / 3.391 GB, free: 260.2 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001482/7.63, allocations: 0.7013 MB / 3.392 GB, free: 259.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/7.63, allocations: 12.81 kB / 3.392 GB, free: 259.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.941e-05/7.63, allocations: 60.09 kB / 3.392 GB, free: 259.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003254/7.631, allocations: 55.59 kB / 3.392 GB, free: 259.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/7.631, allocations: 329.8 kB / 3.392 GB, free: 259 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/7.631, allocations: 24.56 kB / 3.392 GB, free: 259 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/7.631, allocations: 24 kB / 3.392 GB, free: 258.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/7.632, allocations: 307.9 kB / 3.393 GB, free: 258.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/7.632, allocations: 7.938 kB / 3.393 GB, free: 258.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/7.632, allocations: 12 kB / 3.393 GB, free: 258.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/7.632, allocations: 8 kB / 3.393 GB, free: 258.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/7.632, allocations: 201.5 kB / 3.393 GB, free: 258.4 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.00129/7.634, allocations: 1.531 MB / 3.394 GB, free: 256.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/7.634, allocations: 114.5 kB / 3.395 GB, free: 256.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004905/7.634, allocations: 299.3 kB / 3.395 GB, free: 256.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/7.634, allocations: 30.56 kB / 3.395 GB, free: 256.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=13): time 2.304e-06/7.634, allocations: 3.938 kB / 3.395 GB, free: 256.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=13): time 0.0007256/7.635, allocations: 265.4 kB / 3.395 GB, free: 255.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/7.635, allocations: 59.36 kB / 3.395 GB, free: 255.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/7.635, allocations: 275.7 kB / 3.395 GB, free: 255.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/7.635, allocations: 33.69 kB / 3.395 GB, free: 255.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/7.636, allocations: 184.1 kB / 3.396 GB, free: 255.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/7.636, allocations: 47.38 kB / 3.396 GB, free: 255.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/7.636, allocations: 7.938 kB / 3.396 GB, free: 255.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.809e-05/7.636, allocations: 338.8 kB / 3.396 GB, free: 255 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/7.636, allocations: 55.95 kB / 3.396 GB, free: 254.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/7.636, allocations: 126.7 kB / 3.396 GB, free: 254.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/7.636, allocations: 75.95 kB / 3.396 GB, free: 254.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/7.636, allocations: 0 / 3.396 GB, free: 254.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004107/7.637, allocations: 217.2 kB / 3.396 GB, free: 254.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/7.637, allocations: 8 kB / 3.396 GB, free: 254.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/7.637, allocations: 0 / 3.396 GB, free: 254.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/7.637, allocations: 4 kB / 3.396 GB, free: 254.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/7.637, allocations: 35.92 kB / 3.397 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/7.637, allocations: 0 / 3.397 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/7.637, allocations: 55.73 kB / 3.397 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/7.637, allocations: 4 kB / 3.397 GB, free: 254.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001548/7.637, allocations: 150.8 kB / 3.397 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/7.637, allocations: 23.72 kB / 3.397 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004196/7.638, allocations: 218.2 kB / 3.397 GB, free: 254 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/7.638, allocations: 4 kB / 3.397 GB, free: 254 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/7.638, allocations: 0 / 3.397 GB, free: 254 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/7.638, allocations: 3.984 kB / 3.397 GB, free: 254 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008638/7.639, allocations: 0.6681 MB / 3.398 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/7.639, allocations: 8.031 kB / 3.398 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/7.639, allocations: 31.92 kB / 3.398 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/7.639, allocations: 7.953 kB / 3.398 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/7.639, allocations: 4 kB / 3.398 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/7.639, allocations: 4 kB / 3.398 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/7.639, allocations: 3.984 kB / 3.398 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/7.639, allocations: 425 kB / 3.398 GB, free: 252.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/7.639, allocations: 120.7 kB / 3.398 GB, free: 252.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/7.639, allocations: 11.94 kB / 3.398 GB, free: 252.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/7.64, allocations: 19.98 kB / 3.398 GB, free: 252.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/7.64, allocations: 15.92 kB / 3.398 GB, free: 252.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/7.64, allocations: 4 kB / 3.398 GB, free: 252.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000194/7.64, allocations: 227 kB / 3.398 GB, free: 252.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.7e-07/7.64, allocations: 0 / 3.398 GB, free: 252.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009739/7.641, allocations: 183.8 kB / 3.399 GB, free: 252.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.002749/7.644, allocations: 2.518 MB / 3.401 GB, free: 249.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004044/7.644, allocations: 159.7 kB / 3.401 GB, free: 249.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/7.644, allocations: 7.938 kB / 3.401 GB, free: 249.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/7.644, allocations: 84.58 kB / 3.401 GB, free: 249.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007335/7.645, allocations: 141.1 kB / 3.401 GB, free: 249.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/7.647, allocations: 2.396 MB / 3.404 GB, free: 246.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/7.648, allocations: 0.7875 MB / 3.405 GB, free: 245.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002298/7.648, allocations: 54.94 kB / 3.405 GB, free: 245.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/7.648, allocations: 95.39 kB / 3.405 GB, free: 245.6 MB / 1.167 GB Notification: Performance of SimCode: time 3.6e-07/7.648, allocations: 0 / 3.405 GB, free: 245.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0533/7.701, allocations: 26.29 MB / 3.43 GB, free: 219.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/7.702, allocations: 218.8 kB / 3.431 GB, free: 219.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.045/10.75, allocations: 0 / 3.431 GB, free: 219.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat does not exist to compare? outputFormat=mat