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.001317/0.001324, allocations: 100 kB / 15.05 MB, free: 1.105 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.001585/0.001586, allocations: 177.3 kB / 15.95 MB, free: 216 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.764/1.764, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.726/2.726, allocations: 409.2 MB / 0.6838 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 20 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9125/0.9129, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.183/1.096, allocations: 149.6 MB / 1.127 GB, free: 348 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008193/1.104, allocations: 6.543 MB / 1.133 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006704/1.105, allocations: 15.94 kB / 1.133 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008877/1.106, allocations: 254.8 kB / 1.134 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002637/1.108, allocations: 0.814 MB / 1.134 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/1.11, allocations: 0.5822 MB / 1.135 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001136/1.111, allocations: 0.6246 MB / 1.136 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005634/1.112, allocations: 328.2 kB / 1.136 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/1.114, allocations: 0.6933 MB / 1.137 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/1.114, allocations: 322.8 kB / 1.137 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/1.114, allocations: 24 kB / 1.137 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/1.116, allocations: 447.3 kB / 1.137 GB, free: 5.703 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/1.116, allocations: 127.6 kB / 1.137 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/1.116, allocations: 113.5 kB / 1.138 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007148/1.117, allocations: 0.5222 MB / 1.138 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/1.117, allocations: 0 / 1.138 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.673e-06/1.117, allocations: 0 / 1.138 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.117, allocations: 0 / 1.138 GB, free: 4.938 MB / 0.8887 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.001119/1.118, allocations: 0.7092 MB / 1.139 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/1.118, allocations: 12.03 kB / 1.139 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.87e-05/1.118, allocations: 74.53 kB / 1.139 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009584/1.119, allocations: 155.3 kB / 1.139 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/1.119, allocations: 363.7 kB / 1.139 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/1.119, allocations: 32.98 kB / 1.139 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.631e-05/1.12, allocations: 36 kB / 1.139 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007534/1.12, allocations: 450.3 kB / 1.14 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/1.12, allocations: 3.938 kB / 1.14 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/1.12, allocations: 16 kB / 1.14 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/1.12, allocations: 8 kB / 1.14 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/1.121, allocations: 335.7 kB / 1.14 GB, free: 2.652 MB / 0.8887 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.00216/1.123, allocations: 2.012 MB / 1.142 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/1.124, allocations: 246.3 kB / 1.142 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004414/1.124, allocations: 141 kB / 1.142 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/1.124, allocations: 34.56 kB / 1.143 GB, free: 20 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=24): time 2.495e-06/1.124, allocations: 0 / 1.143 GB, free: 20 kB / 0.8887 GB Notification: Performance of matching and sorting (n=24): time 0.001074/1.125, allocations: 477.8 kB / 1.143 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/1.125, allocations: 55.41 kB / 1.143 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/1.126, allocations: 390 kB / 1.143 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/1.126, allocations: 33.7 kB / 1.143 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/1.126, allocations: 232.2 kB / 1.144 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/1.126, allocations: 78.84 kB / 1.144 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/1.126, allocations: 8 kB / 1.144 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.126, allocations: 350.8 kB / 1.144 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/1.126, allocations: 115.9 kB / 1.144 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/1.127, allocations: 183.3 kB / 1.144 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/1.127, allocations: 141.1 kB / 1.144 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.127, allocations: 0 / 1.144 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000613/1.127, allocations: 387 kB / 1.145 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.128, allocations: 8 kB / 1.145 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.128, allocations: 0 / 1.145 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.128, allocations: 4 kB / 1.145 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/1.128, allocations: 63.91 kB / 1.145 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/1.128, allocations: 8.219 kB / 1.145 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/1.128, allocations: 51.59 kB / 1.145 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/1.128, allocations: 12 kB / 1.145 GB, free: 13.4 MB / 0.9044 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.0001778/1.128, allocations: 161.8 kB / 1.145 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/1.128, allocations: 43.48 kB / 1.145 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000688/1.129, allocations: 380.9 kB / 1.146 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.129, allocations: 4 kB / 1.146 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.129, allocations: 0 / 1.146 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.129, allocations: 7.984 kB / 1.146 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/1.131, allocations: 0.9458 MB / 1.146 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.131, allocations: 4 kB / 1.146 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/1.131, allocations: 43.92 kB / 1.147 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/1.131, allocations: 7.938 kB / 1.147 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/1.131, allocations: 15.92 kB / 1.147 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.131, allocations: 8.219 kB / 1.147 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.131, allocations: 4 kB / 1.147 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009791/1.132, allocations: 0.7272 MB / 1.147 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/1.132, allocations: 144.6 kB / 1.147 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/1.132, allocations: 8 kB / 1.147 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/1.132, allocations: 31.94 kB / 1.147 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/1.133, allocations: 23.94 kB / 1.147 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/1.133, allocations: 8 kB / 1.147 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002758/1.133, allocations: 283.1 kB / 1.148 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/1.133, allocations: 0 / 1.148 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004666/1.133, allocations: 103.8 kB / 1.148 GB, free: 10.29 MB / 0.9044 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.001686/1.135, allocations: 1.817 MB / 1.15 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000586/1.136, allocations: 294.7 kB / 1.15 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.136, allocations: 0 / 1.15 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000275/1.136, allocations: 162.2 kB / 1.15 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009687/1.137, allocations: 206.9 kB / 1.15 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/1.141, allocations: 3.502 MB / 1.154 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/1.141, allocations: 0.8353 MB / 1.154 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003504/1.141, allocations: 99.41 kB / 1.155 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/1.142, allocations: 139.4 kB / 1.155 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of SimCode: time 9.72e-07/1.142, allocations: 0 / 1.155 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/1.167, allocations: 10.91 MB / 1.165 GB, free: 8.418 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002932/1.168, allocations: 234.6 kB / 1.166 GB, free: 8.172 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/3.52, allocations: 0 / 1.166 GB, free: 8.172 MB / 0.92 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