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.001563/0.001563, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001337/0.001337, allocations: 187.8 kB / 16.25 MB, free: 6.621 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.483/1.483, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.5778/0.5778, allocations: 95.47 MB / 364.9 MB, free: 10.04 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.001402/0.001402, allocations: 71.89 kB / 444.9 MB, free: 9.949 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3441, allocations: 69.07 MB / 0.5019 GB, free: 17.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5242/0.8683, allocations: 198.7 MB / 0.696 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007868/0.8763, allocations: 6.586 MB / 0.7024 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.8775, allocations: 24.53 kB / 0.7024 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.8785, allocations: 283.3 kB / 0.7027 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005388/0.8839, allocations: 1.5 MB / 0.7042 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.8877, allocations: 1.258 MB / 0.7054 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.8899, allocations: 1.543 MB / 0.7069 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008162/0.8907, allocations: 0.5433 MB / 0.7074 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.8921, allocations: 0.6683 MB / 0.7081 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.8934, allocations: 0.7763 MB / 0.7088 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.8935, allocations: 73.41 kB / 0.7089 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.8967, allocations: 1.535 MB / 0.7104 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.897, allocations: 276.1 kB / 0.7107 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004715/0.8975, allocations: 429.1 kB / 0.7111 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.9009, allocations: 1.828 MB / 0.7129 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.9009, allocations: 0 / 0.7129 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9009, allocations: 0 / 0.7129 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.9009, allocations: 0 / 0.7129 GB, free: 2.5 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.002433/0.9034, allocations: 1.251 MB / 0.7141 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.9034, allocations: 14.05 kB / 0.7141 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.9037, allocations: 91.03 kB / 0.7142 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000647/0.9044, allocations: 498.3 kB / 0.7147 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.9045, allocations: 109.1 kB / 0.7148 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.703e-05/0.9046, allocations: 60.06 kB / 0.7148 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.9057, allocations: 0.6084 MB / 0.7154 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.9057, allocations: 3.938 kB / 0.7154 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-05/0.9058, allocations: 25.47 kB / 0.7154 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.9058, allocations: 12.62 kB / 0.7155 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.907, allocations: 0.6207 MB / 0.7161 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003901/0.9109, allocations: 2.533 MB / 0.7185 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.9114, allocations: 367.8 kB / 0.7189 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.9118, allocations: 186.4 kB / 0.7191 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003252/0.9121, allocations: 127.5 kB / 0.7192 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.9121, allocations: 41.41 kB / 0.7192 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 2.955e-06/0.9121, allocations: 0 / 0.7192 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38): time 0.001235/0.9134, allocations: 0.6435 MB / 0.7199 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.9134, allocations: 55.41 kB / 0.7199 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006613/0.9141, allocations: 0.6096 MB / 0.7205 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.9142, allocations: 33.7 kB / 0.7205 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.9144, allocations: 314 kB / 0.7208 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.9145, allocations: 139.1 kB / 0.721 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.9147, allocations: 106.1 kB / 0.7211 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.9149, allocations: 374.8 kB / 0.7214 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.9153, allocations: 208.9 kB / 0.7216 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/0.9157, allocations: 307.2 kB / 0.7219 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007996/0.9165, allocations: 0.5499 MB / 0.7225 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.9165, allocations: 4 kB / 0.7225 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001148/0.9177, allocations: 0.696 MB / 0.7231 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/0.9178, allocations: 69.67 kB / 0.7232 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.9178, allocations: 4 kB / 0.7232 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.9178, allocations: 4 kB / 0.7232 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.9183, allocations: 108.1 kB / 0.7233 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.9183, allocations: 11.94 kB / 0.7233 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.9189, allocations: 83.19 kB / 0.7234 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/0.919, allocations: 27.98 kB / 0.7234 GB, free: 9.398 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.0003244/0.9193, allocations: 205.7 kB / 0.7236 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.9194, allocations: 75.17 kB / 0.7237 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.9206, allocations: 0.6514 MB / 0.7243 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.9207, allocations: 4 kB / 0.7243 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.9207, allocations: 3.984 kB / 0.7243 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.9207, allocations: 0 / 0.7243 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.9226, allocations: 1.333 MB / 0.7256 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.9226, allocations: 0 / 0.7256 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.923, allocations: 75.89 kB / 0.7257 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.923, allocations: 4 kB / 0.7257 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.923, allocations: 16.19 kB / 0.7257 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.9231, allocations: 8 kB / 0.7257 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.9231, allocations: 4 kB / 0.7258 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.9246, allocations: 0.9852 MB / 0.7267 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.9249, allocations: 216.1 kB / 0.7269 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.533e-05/0.925, allocations: 15.91 kB / 0.7269 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.9255, allocations: 39.95 kB / 0.727 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.9256, allocations: 39.83 kB / 0.727 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/0.9256, allocations: 23.98 kB / 0.727 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005004/0.9262, allocations: 451 kB / 0.7275 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9262, allocations: 0 / 0.7275 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001226/0.9274, allocations: 371.5 kB / 0.7278 GB, free: 4.777 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.001038/0.9284, allocations: 444.1 kB / 0.7282 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.9297, allocations: 0.656 MB / 0.7289 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.9298, allocations: 4 kB / 0.7289 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.9302, allocations: 271.4 kB / 0.7291 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.932, allocations: 365.6 kB / 0.7295 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.9343, allocations: 1.637 MB / 0.7311 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.9348, allocations: 0.9258 MB / 0.732 GB, free: 452 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005146/0.9353, allocations: 156.4 kB / 0.7321 GB, free: 296 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.9355, allocations: 63.42 kB / 0.7322 GB, free: 232 kB / 0.5137 GB Notification: Performance of SimCode: time 7.71e-07/0.9355, allocations: 0 / 0.7322 GB, free: 232 kB / 0.5137 GB Notification: Performance of Templates: time 0.02648/0.962, allocations: 17.22 MB / 0.749 GB, free: 15.18 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)