Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.755/1.755, allocations: 288.4 MB / 303.3 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 174 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.4 MB / 0.6307 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009097/0.0009102, allocations: 87.59 kB / 0.744 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004163, allocations: 16.88 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2757, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.878/1.154, allocations: 163.1 MB / 1.139 GB, free: 14.36 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009289/1.163, allocations: 7.278 MB / 1.146 GB, free: 11.8 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000844/1.164, allocations: 19.31 kB / 1.146 GB, free: 11.79 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007216/1.165, allocations: 163.4 kB / 1.146 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003071/1.168, allocations: 0.8882 MB / 1.147 GB, free: 11.34 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/1.17, allocations: 0.5342 MB / 1.148 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001722/1.171, allocations: 1.309 MB / 1.149 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/1.172, allocations: 316.3 kB / 1.149 GB, free: 10.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/1.174, allocations: 0.6765 MB / 1.15 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007295/1.175, allocations: 433.2 kB / 1.15 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/1.175, allocations: 22.09 kB / 1.15 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/1.177, allocations: 0.5258 MB / 1.151 GB, free: 9.867 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002047/1.177, allocations: 141.7 kB / 1.151 GB, free: 9.805 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/1.177, allocations: 113.9 kB / 1.151 GB, free: 9.758 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000928/1.178, allocations: 0.58 MB / 1.152 GB, free: 9.461 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/1.178, allocations: 1.125 kB / 1.152 GB, free: 9.461 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.307e-06/1.178, allocations: 0 / 1.152 GB, free: 9.461 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.888e-06/1.178, allocations: 0 / 1.152 GB, free: 9.461 MB / 0.698 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.001232/1.179, allocations: 0.728 MB / 1.152 GB, free: 8.863 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.179, allocations: 13.31 kB / 1.152 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.474e-05/1.179, allocations: 76.25 kB / 1.152 GB, free: 8.812 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009467/1.18, allocations: 152 kB / 1.153 GB, free: 8.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/1.181, allocations: 372.6 kB / 1.153 GB, free: 8.445 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/1.181, allocations: 33.61 kB / 1.153 GB, free: 8.441 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/1.181, allocations: 35.94 kB / 1.153 GB, free: 8.441 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008325/1.182, allocations: 451.6 kB / 1.153 GB, free: 8.262 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.182, allocations: 0.875 kB / 1.153 GB, free: 8.262 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/1.182, allocations: 19.56 kB / 1.153 GB, free: 8.258 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/1.182, allocations: 9.375 kB / 1.153 GB, free: 8.258 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006699/1.183, allocations: 329.4 kB / 1.154 GB, free: 8.199 MB / 0.698 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.002423/1.185, allocations: 2.019 MB / 1.156 GB, free: 6.578 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/1.186, allocations: 242.2 kB / 1.156 GB, free: 6.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/1.186, allocations: 150.9 kB / 1.156 GB, free: 6.492 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007104/1.187, allocations: 330.2 kB / 1.156 GB, free: 6.176 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/1.187, allocations: 38.94 kB / 1.156 GB, free: 6.133 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 2.896e-06/1.187, allocations: 1.125 kB / 1.156 GB, free: 6.133 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.001156/1.188, allocations: 465.3 kB / 1.157 GB, free: 6.012 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/1.188, allocations: 58.55 kB / 1.157 GB, free: 5.945 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/1.188, allocations: 394.2 kB / 1.157 GB, free: 5.773 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/1.188, allocations: 33.81 kB / 1.157 GB, free: 5.738 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/1.189, allocations: 227.2 kB / 1.158 GB, free: 5.602 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.505e-05/1.189, allocations: 84.81 kB / 1.158 GB, free: 5.539 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/1.189, allocations: 4.344 kB / 1.158 GB, free: 5.539 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.189, allocations: 349 kB / 1.158 GB, free: 5.215 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/1.189, allocations: 117.2 kB / 1.158 GB, free: 5.195 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/1.189, allocations: 184.7 kB / 1.158 GB, free: 5.102 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/1.19, allocations: 141.2 kB / 1.158 GB, free: 5.082 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.19, allocations: 0 / 1.158 GB, free: 5.082 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006429/1.19, allocations: 376.9 kB / 1.159 GB, free: 4.969 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.19, allocations: 4.375 kB / 1.159 GB, free: 4.969 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.19, allocations: 2.594 kB / 1.159 GB, free: 4.969 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/1.19, allocations: 2.531 kB / 1.159 GB, free: 4.969 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/1.191, allocations: 59.81 kB / 1.159 GB, free: 4.957 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.191, allocations: 7.594 kB / 1.159 GB, free: 4.953 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/1.191, allocations: 62.14 kB / 1.159 GB, free: 4.918 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/1.191, allocations: 13.08 kB / 1.159 GB, free: 4.918 MB / 0.698 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.0002234/1.191, allocations: 161.5 kB / 1.159 GB, free: 4.797 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.192, allocations: 50.69 kB / 1.159 GB, free: 4.766 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008889/1.192, allocations: 374.2 kB / 1.159 GB, free: 4.668 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/1.192, allocations: 2.875 kB / 1.159 GB, free: 4.668 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.192, allocations: 3.938 kB / 1.159 GB, free: 4.664 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.192, allocations: 9.547 kB / 1.159 GB, free: 4.656 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/1.194, allocations: 0.9489 MB / 1.16 GB, free: 4.113 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.194, allocations: 2.406 kB / 1.16 GB, free: 4.113 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/1.195, allocations: 50.34 kB / 1.16 GB, free: 4.102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/1.195, allocations: 6.766 kB / 1.16 GB, free: 4.098 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/1.195, allocations: 9 kB / 1.16 GB, free: 4.098 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/1.195, allocations: 10.22 kB / 1.16 GB, free: 4.094 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.195, allocations: 2.969 kB / 1.16 GB, free: 4.094 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/1.196, allocations: 0.6488 MB / 1.161 GB, free: 3.684 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/1.196, allocations: 151.2 kB / 1.161 GB, free: 3.539 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/1.196, allocations: 8.25 kB / 1.161 GB, free: 3.535 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/1.196, allocations: 27.44 kB / 1.161 GB, free: 3.523 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/1.196, allocations: 17.08 kB / 1.161 GB, free: 3.516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/1.196, allocations: 10.88 kB / 1.161 GB, free: 3.512 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000379/1.197, allocations: 282.6 kB / 1.162 GB, free: 3.332 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.884e-06/1.197, allocations: 1.844 kB / 1.162 GB, free: 3.332 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005841/1.197, allocations: 112.2 kB / 1.162 GB, free: 3.309 MB / 0.698 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.001991/1.199, allocations: 1.251 MB / 1.163 GB, free: 2.316 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000757/1.2, allocations: 291.8 kB / 1.163 GB, free: 2.191 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.2, allocations: 0.9375 kB / 1.163 GB, free: 2.191 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/1.201, allocations: 157.3 kB / 1.163 GB, free: 2.121 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/1.202, allocations: 224.2 kB / 1.164 GB, free: 2.004 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/1.207, allocations: 2.469 MB / 1.166 GB, free: 424 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/1.207, allocations: 0.8266 MB / 1.167 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004919/1.208, allocations: 99.12 kB / 1.167 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/1.208, allocations: 137.3 kB / 1.167 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/1.208, allocations: 0 / 1.167 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/1.238, allocations: 10.94 MB / 1.178 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/1.238, allocations: 241.4 kB / 1.178 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/3.625, allocations: 0 / 1.178 GB, free: 10.03 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)