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.001925/0.001925, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001725/0.001725, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.531/1.531, allocations: 205.1 MB / 222 MB, free: 4.727 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.6444/0.6444, allocations: 95.48 MB / 364.8 MB, free: 10.13 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.002136/0.002136, allocations: 72.55 kB / 444.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.434, allocations: 69.07 MB / 0.5017 GB, free: 17.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5261/0.9602, allocations: 199.4 MB / 0.6964 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00701/0.9673, allocations: 6.671 MB / 0.7029 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.9686, allocations: 23.94 kB / 0.7029 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.9699, allocations: 275.5 kB / 0.7032 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005351/0.9753, allocations: 1.5 MB / 0.7047 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004588/0.9799, allocations: 1.251 MB / 0.7059 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003868/0.9838, allocations: 2.135 MB / 0.708 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.9848, allocations: 489.5 kB / 0.7084 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.9863, allocations: 0.5868 MB / 0.709 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.9878, allocations: 0.7619 MB / 0.7098 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.988, allocations: 44.06 kB / 0.7098 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004141/0.9921, allocations: 1.652 MB / 0.7114 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004106/0.9926, allocations: 241.4 kB / 0.7116 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006408/0.9932, allocations: 390 kB / 0.712 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.9966, allocations: 1.805 MB / 0.7138 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9966, allocations: 0 / 0.7138 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.72e-07/0.9966, allocations: 0 / 0.7138 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.9966, allocations: 4 kB / 0.7138 GB, free: 1.828 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.002318/0.9989, allocations: 1.249 MB / 0.715 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.999, allocations: 14.11 kB / 0.715 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/0.9993, allocations: 95.02 kB / 0.7151 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006874/1, allocations: 488.5 kB / 0.7156 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/1, allocations: 104.2 kB / 0.7157 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-05/1, allocations: 60.09 kB / 0.7157 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/1.001, allocations: 0.6146 MB / 0.7163 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/1.001, allocations: 3.938 kB / 0.7163 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/1.001, allocations: 24.31 kB / 0.7164 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/1.001, allocations: 15.56 kB / 0.7164 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/1.002, allocations: 0.6052 MB / 0.717 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003738/1.006, allocations: 2.546 MB / 0.7194 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/1.007, allocations: 371.4 kB / 0.7198 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/1.007, allocations: 186.1 kB / 0.72 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/1.007, allocations: 120.8 kB / 0.7201 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/1.008, allocations: 47.19 kB / 0.7201 GB, free: 13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 4.007e-06/1.008, allocations: 4 kB / 0.7201 GB, free: 13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38): time 0.001296/1.009, allocations: 0.6409 MB / 0.7208 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/1.009, allocations: 55.41 kB / 0.7208 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006561/1.01, allocations: 0.6057 MB / 0.7214 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/1.01, allocations: 37.7 kB / 0.7214 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/1.01, allocations: 314.6 kB / 0.7217 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/1.01, allocations: 132.6 kB / 0.7219 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/1.01, allocations: 118.1 kB / 0.722 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.01, allocations: 366.8 kB / 0.7223 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/1.011, allocations: 205 kB / 0.7225 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004837/1.011, allocations: 307.2 kB / 0.7228 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/1.012, allocations: 0.5538 MB / 0.7234 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.012, allocations: 0 / 0.7234 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001216/1.013, allocations: 0.7 MB / 0.724 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.942e-05/1.013, allocations: 63.34 kB / 0.7241 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.013, allocations: 0 / 0.7241 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.013, allocations: 8 kB / 0.7241 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/1.014, allocations: 111.8 kB / 0.7242 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.014, allocations: 4 kB / 0.7242 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/1.014, allocations: 99.45 kB / 0.7243 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/1.015, allocations: 24 kB / 0.7243 GB, free: 8.531 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.0002613/1.015, allocations: 197.7 kB / 0.7245 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/1.015, allocations: 67.19 kB / 0.7246 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/1.016, allocations: 0.6668 MB / 0.7252 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/1.016, allocations: 4 kB / 0.7253 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.016, allocations: 0 / 0.7253 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.016, allocations: 0 / 0.7253 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/1.018, allocations: 1.331 MB / 0.7266 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.018, allocations: 0 / 0.7266 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/1.019, allocations: 83.83 kB / 0.7266 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.019, allocations: 7.938 kB / 0.7266 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/1.019, allocations: 15.92 kB / 0.7267 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/1.019, allocations: 4 kB / 0.7267 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.019, allocations: 4 kB / 0.7267 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/1.02, allocations: 0.9854 MB / 0.7276 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/1.02, allocations: 220.2 kB / 0.7278 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.164e-05/1.02, allocations: 11.91 kB / 0.7278 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005345/1.021, allocations: 35.97 kB / 0.7279 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.512e-05/1.021, allocations: 39.97 kB / 0.7279 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/1.021, allocations: 27.97 kB / 0.7279 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004808/1.022, allocations: 451 kB / 0.7284 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/1.022, allocations: 0 / 0.7284 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001014/1.023, allocations: 371.6 kB / 0.7287 GB, free: 3.914 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.0009306/1.024, allocations: 437.4 kB / 0.7291 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001004/1.025, allocations: 0.6167 MB / 0.7297 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.025, allocations: 4 kB / 0.7298 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004402/1.025, allocations: 268.3 kB / 0.73 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.027, allocations: 358 kB / 0.7303 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/1.029, allocations: 1.638 MB / 0.7319 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/1.029, allocations: 0.9261 MB / 0.7329 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005131/1.03, allocations: 145.2 kB / 0.733 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/1.03, allocations: 63.42 kB / 0.7331 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/1.03, allocations: 0 / 0.7331 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of Templates: time 0.02792/1.058, allocations: 16.72 MB / 0.7494 GB, free: 14.86 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)