Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007915/0.0007917, allocations: 91.92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008365/0.0008365, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.2 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.684/2.684, allocations: 409.4 MB / 0.684 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 12 kB / 0.8378 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8737/0.8741, allocations: 146.8 MB / 0.9811 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1813/1.055, allocations: 163.1 MB / 1.14 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008363/1.064, allocations: 7.283 MB / 1.148 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005785/1.064, allocations: 15.88 kB / 1.148 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005478/1.065, allocations: 166.8 kB / 1.148 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002138/1.067, allocations: 0.8865 MB / 1.149 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/1.069, allocations: 0.5325 MB / 1.149 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001219/1.07, allocations: 1.29 MB / 1.15 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000451/1.07, allocations: 328.1 kB / 1.151 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/1.072, allocations: 0.6888 MB / 1.151 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/1.072, allocations: 418.5 kB / 1.152 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.925e-05/1.072, allocations: 28 kB / 1.152 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/1.074, allocations: 0.5184 MB / 1.152 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/1.074, allocations: 143.6 kB / 1.152 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/1.074, allocations: 113.5 kB / 1.153 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006747/1.075, allocations: 0.5846 MB / 1.153 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/1.075, allocations: 0 / 1.153 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.344e-06/1.075, allocations: 0 / 1.153 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.784e-06/1.075, allocations: 0 / 1.153 GB, free: 5.711 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001002/1.076, allocations: 0.7326 MB / 1.154 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.076, allocations: 8.031 kB / 1.154 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.076e-05/1.076, allocations: 78.52 kB / 1.154 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000888/1.077, allocations: 147.3 kB / 1.154 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/1.077, allocations: 367.7 kB / 1.154 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/1.077, allocations: 29 kB / 1.154 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/1.077, allocations: 39.94 kB / 1.154 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/1.078, allocations: 450.4 kB / 1.155 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/1.078, allocations: 7.938 kB / 1.155 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/1.078, allocations: 16 kB / 1.155 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/1.078, allocations: 8 kB / 1.155 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006083/1.079, allocations: 327.8 kB / 1.155 GB, free: 3.41 MB / 0.9044 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.002048/1.081, allocations: 2.015 MB / 1.157 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/1.081, allocations: 246.4 kB / 1.157 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/1.081, allocations: 162.1 kB / 1.158 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006186/1.082, allocations: 323.2 kB / 1.158 GB, free: 452 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/1.082, allocations: 34.55 kB / 1.158 GB, free: 408 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 2.234e-06/1.082, allocations: 0 / 1.158 GB, free: 408 kB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001029/1.083, allocations: 462 kB / 1.158 GB, free: 15.94 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/1.083, allocations: 59.41 kB / 1.158 GB, free: 15.87 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/1.084, allocations: 390 kB / 1.159 GB, free: 15.48 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/1.084, allocations: 33.7 kB / 1.159 GB, free: 15.44 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/1.084, allocations: 236.1 kB / 1.159 GB, free: 15.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/1.084, allocations: 78.84 kB / 1.159 GB, free: 15.12 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.534e-05/1.084, allocations: 11.94 kB / 1.159 GB, free: 15.11 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.084, allocations: 346.8 kB / 1.159 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/1.084, allocations: 119.8 kB / 1.16 GB, free: 14.65 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/1.084, allocations: 191.3 kB / 1.16 GB, free: 14.44 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/1.085, allocations: 133.2 kB / 1.16 GB, free: 14.31 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.085, allocations: 0 / 1.16 GB, free: 14.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006192/1.085, allocations: 383.1 kB / 1.16 GB, free: 13.93 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.085, allocations: 9.562 kB / 1.16 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.085, allocations: 0 / 1.16 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/1.085, allocations: 4 kB / 1.16 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/1.086, allocations: 59.91 kB / 1.16 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.086, allocations: 4 kB / 1.16 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/1.086, allocations: 59.78 kB / 1.16 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/1.086, allocations: 12 kB / 1.16 GB, free: 13.79 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0001749/1.086, allocations: 165.8 kB / 1.161 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/1.086, allocations: 43.48 kB / 1.161 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007343/1.087, allocations: 384.9 kB / 1.161 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.087, allocations: 4 kB / 1.161 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.087, allocations: 0 / 1.161 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/1.087, allocations: 0 / 1.161 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/1.089, allocations: 0.9526 MB / 1.162 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/1.089, allocations: 0 / 1.162 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/1.089, allocations: 51.91 kB / 1.162 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/1.089, allocations: 4 kB / 1.162 GB, free: 12.1 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/1.089, allocations: 8 kB / 1.162 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/1.089, allocations: 0 / 1.162 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.089, allocations: 4 kB / 1.162 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/1.09, allocations: 0.6531 MB / 1.163 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/1.09, allocations: 144.6 kB / 1.163 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/1.09, allocations: 11.98 kB / 1.163 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/1.09, allocations: 31.95 kB / 1.163 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/1.09, allocations: 23.86 kB / 1.163 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/1.091, allocations: 19.94 kB / 1.163 GB, free: 11.16 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003672/1.091, allocations: 279.1 kB / 1.163 GB, free: 10.89 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/1.091, allocations: 7.938 kB / 1.163 GB, free: 10.88 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005584/1.091, allocations: 107.8 kB / 1.163 GB, free: 10.77 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.001761/1.093, allocations: 1.25 MB / 1.164 GB, free: 9.484 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005748/1.094, allocations: 303 kB / 1.165 GB, free: 9.191 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.094, allocations: 0 / 1.165 GB, free: 9.191 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/1.094, allocations: 155.8 kB / 1.165 GB, free: 9.039 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/1.095, allocations: 207.2 kB / 1.165 GB, free: 8.84 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/1.099, allocations: 2.46 MB / 1.167 GB, free: 6.281 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/1.1, allocations: 0.8392 MB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00036/1.1, allocations: 91.42 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/1.1, allocations: 143.3 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of SimCode: time 2.225e-06/1.1, allocations: 4 kB / 1.169 GB, free: 5.184 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/1.126, allocations: 10.92 MB / 1.179 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/1.126, allocations: 246.7 kB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/3.193, allocations: 3.938 kB / 1.179 GB, free: 10.29 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat does not exist to compare? outputFormat=mat