Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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: translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.001429, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 194.9 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6303/0.6303, allocations: 95.49 MB / 365.3 MB, free: 9.801 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00173/0.001731, allocations: 68.47 kB / 446.1 MB, free: 8.871 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3377, allocations: 69.08 MB / 0.5031 GB, free: 17.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5065/0.8443, allocations: 200.6 MB / 0.699 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009745/0.8541, allocations: 6.507 MB / 0.7053 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009446/0.8551, allocations: 15.88 kB / 0.7053 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.8564, allocations: 330.2 kB / 0.7057 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005012/0.8615, allocations: 1.612 MB / 0.7072 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004046/0.8655, allocations: 1.346 MB / 0.7086 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002138/0.8677, allocations: 1.538 MB / 0.7101 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.8687, allocations: 0.5662 MB / 0.7106 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.8702, allocations: 0.6719 MB / 0.7113 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.8716, allocations: 0.7447 MB / 0.712 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.8718, allocations: 72.66 kB / 0.7121 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.8747, allocations: 1.49 MB / 0.7135 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003013/0.875, allocations: 273.7 kB / 0.7138 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004726/0.8755, allocations: 432.7 kB / 0.7142 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002824/0.8783, allocations: 1.774 MB / 0.7159 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8784, allocations: 0 / 0.7159 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8784, allocations: 0 / 0.7159 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.8784, allocations: 0 / 0.7159 GB, free: 2.328 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002023/0.8804, allocations: 1.253 MB / 0.7171 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.8805, allocations: 13.48 kB / 0.7172 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003248/0.8808, allocations: 91 kB / 0.7172 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007323/0.8815, allocations: 0.5061 MB / 0.7177 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.8817, allocations: 103.9 kB / 0.7178 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.934e-05/0.8818, allocations: 62.41 kB / 0.7179 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.8829, allocations: 0.6082 MB / 0.7185 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.8829, allocations: 3.938 kB / 0.7185 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.883, allocations: 27.59 kB / 0.7185 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.883, allocations: 12.34 kB / 0.7185 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.8841, allocations: 0.6087 MB / 0.7191 GB, free: 104 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003825/0.8879, allocations: 2.537 MB / 0.7216 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.8885, allocations: 371.8 kB / 0.722 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.8889, allocations: 190 kB / 0.7221 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003372/0.8892, allocations: 124.2 kB / 0.7223 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.8892, allocations: 43.12 kB / 0.7223 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 2.104e-06/0.8893, allocations: 4 kB / 0.7223 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38): time 0.001237/0.8905, allocations: 0.6326 MB / 0.7229 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.8905, allocations: 55.41 kB / 0.723 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006676/0.8912, allocations: 0.6134 MB / 0.7236 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.8913, allocations: 37.7 kB / 0.7236 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.8915, allocations: 310 kB / 0.7239 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.8916, allocations: 141.2 kB / 0.724 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.8918, allocations: 102.1 kB / 0.7241 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.8919, allocations: 374.8 kB / 0.7245 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.8923, allocations: 209 kB / 0.7247 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/0.8928, allocations: 295.2 kB / 0.725 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008201/0.8937, allocations: 0.5576 MB / 0.7255 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.8937, allocations: 0 / 0.7255 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001156/0.8948, allocations: 0.7042 MB / 0.7262 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.664e-05/0.8949, allocations: 67.33 kB / 0.7263 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.8949, allocations: 4 kB / 0.7263 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8949, allocations: 4 kB / 0.7263 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.8954, allocations: 107.9 kB / 0.7264 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.8954, allocations: 7.938 kB / 0.7264 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.8959, allocations: 71.45 kB / 0.7265 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-05/0.8959, allocations: 24 kB / 0.7265 GB, free: 8.852 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (senHSen_flow.i_x,senHLat_flow.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002525/0.8962, allocations: 197.8 kB / 0.7267 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.8963, allocations: 75.09 kB / 0.7267 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.8975, allocations: 0.6556 MB / 0.7274 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.8975, allocations: 8 kB / 0.7274 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8975, allocations: 0 / 0.7274 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.8976, allocations: 0 / 0.7274 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.8994, allocations: 1.331 MB / 0.7287 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.8994, allocations: 3.984 kB / 0.7287 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.8998, allocations: 71.91 kB / 0.7288 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.8998, allocations: 4 kB / 0.7288 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.8998, allocations: 19.98 kB / 0.7288 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.8999, allocations: 4 kB / 0.7288 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8999, allocations: 0 / 0.7288 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.9013, allocations: 0.9932 MB / 0.7298 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.9016, allocations: 216.1 kB / 0.73 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.163e-05/0.9016, allocations: 12.09 kB / 0.73 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.9021, allocations: 31.95 kB / 0.73 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.9022, allocations: 39.83 kB / 0.73 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/0.9023, allocations: 23.98 kB / 0.7301 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000464/0.9028, allocations: 455 kB / 0.7305 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9028, allocations: 8 kB / 0.7305 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009586/0.9037, allocations: 367.5 kB / 0.7309 GB, free: 4.234 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008828/0.9046, allocations: 438.8 kB / 0.7313 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009823/0.9056, allocations: 0.6286 MB / 0.7319 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9056, allocations: 0 / 0.7319 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.9061, allocations: 273.8 kB / 0.7322 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.9075, allocations: 361.5 kB / 0.7325 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.9096, allocations: 1.402 MB / 0.7339 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.9101, allocations: 0.9259 MB / 0.7348 GB, free: 184 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000456/0.9106, allocations: 145.5 kB / 0.7349 GB, free: 36 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.9108, allocations: 67.41 kB / 0.735 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.9108, allocations: 0 / 0.735 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of Templates: time 0.02908/0.9399, allocations: 17.34 MB / 0.7519 GB, free: 14.79 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)