Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006275/0.006275, allocations: 102 kB / 15.73 MB, free: 6.039 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.00121/0.00121, allocations: 193 kB / 16.67 MB, free: 5.961 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.519/1.519, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5302/0.5302, allocations: 95.48 MB / 365.4 MB, free: 12.14 MB / 318.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.001455/0.001455, allocations: 72.45 kB / 0.5036 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4215, allocations: 69.09 MB / 0.5711 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1726/0.5941, allocations: 145.6 MB / 0.7133 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004665/0.5989, allocations: 2.831 MB / 0.7161 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004592/0.5994, allocations: 7.938 kB / 0.7161 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008645/0.6003, allocations: 210.5 kB / 0.7163 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009957/0.6013, allocations: 361.9 kB / 0.7166 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.6027, allocations: 0.4891 MB / 0.7171 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.6038, allocations: 0.9234 MB / 0.718 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005247/0.6044, allocations: 330.3 kB / 0.7183 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008216/0.6052, allocations: 402.5 kB / 0.7187 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005663/0.6058, allocations: 346.6 kB / 0.7191 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.979e-05/0.6059, allocations: 36 kB / 0.7191 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006008/0.6065, allocations: 175.7 kB / 0.7193 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.6067, allocations: 107.6 kB / 0.7194 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002522/0.6069, allocations: 222.9 kB / 0.7196 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007595/0.6077, allocations: 0.5785 MB / 0.7201 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.6077, allocations: 0 / 0.7201 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6077, allocations: 0 / 0.7201 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.6077, allocations: 0 / 0.7201 GB, free: 10.94 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001247/0.609, allocations: 0.7285 MB / 0.7208 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.609, allocations: 11.98 kB / 0.7209 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002825/0.6093, allocations: 56.38 kB / 0.7209 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/0.61, allocations: 375.7 kB / 0.7213 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.6101, allocations: 58.92 kB / 0.7213 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.6102, allocations: 24.38 kB / 0.7213 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/0.6108, allocations: 371.3 kB / 0.7217 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.6109, allocations: 4 kB / 0.7217 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.6109, allocations: 12 kB / 0.7217 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.6109, allocations: 4 kB / 0.7217 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.6114, allocations: 250 kB / 0.722 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.6134, allocations: 1.426 MB / 0.7234 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.6137, allocations: 154.4 kB / 0.7235 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.6139, allocations: 68.81 kB / 0.7236 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/0.6142, allocations: 121 kB / 0.7237 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.6142, allocations: 38.5 kB / 0.7237 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.6143, allocations: 4 kB / 0.7237 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006091/0.6149, allocations: 257.1 kB / 0.724 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/0.615, allocations: 110.8 kB / 0.7241 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.6154, allocations: 393.9 kB / 0.7244 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.6154, allocations: 29.7 kB / 0.7245 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.6156, allocations: 235.6 kB / 0.7247 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.6156, allocations: 55.3 kB / 0.7248 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-05/0.6157, allocations: 53.7 kB / 0.7248 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6159, allocations: 346.8 kB / 0.7251 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.6161, allocations: 83.94 kB / 0.7252 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.6163, allocations: 201.5 kB / 0.7254 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.6167, allocations: 271.2 kB / 0.7257 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6167, allocations: 0 / 0.7257 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005453/0.6173, allocations: 324.9 kB / 0.726 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.6173, allocations: 8 kB / 0.726 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.6173, allocations: 4 kB / 0.726 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.6174, allocations: 4 kB / 0.726 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.6176, allocations: 55.91 kB / 0.726 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.6176, allocations: 4 kB / 0.726 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.6179, allocations: 47.52 kB / 0.7261 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.6179, allocations: 12.22 kB / 0.7261 GB, free: 4.402 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0001863/0.6181, allocations: 158.4 kB / 0.7263 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.6182, allocations: 43.47 kB / 0.7263 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004877/0.6187, allocations: 228.8 kB / 0.7265 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6187, allocations: 0 / 0.7265 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.6187, allocations: 4 kB / 0.7265 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6187, allocations: 0 / 0.7265 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000903/0.6196, allocations: 0.6364 MB / 0.7271 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6196, allocations: 3.938 kB / 0.7271 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.6198, allocations: 31.97 kB / 0.7272 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6198, allocations: 0 / 0.7272 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.6198, allocations: 4 kB / 0.7272 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6198, allocations: 0 / 0.7272 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6198, allocations: 3.938 kB / 0.7272 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.6205, allocations: 412.7 kB / 0.7276 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.6206, allocations: 108.7 kB / 0.7277 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.6207, allocations: 7.984 kB / 0.7277 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.6209, allocations: 20.05 kB / 0.7277 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.621, allocations: 7.984 kB / 0.7277 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.621, allocations: 12 kB / 0.7277 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002873/0.6213, allocations: 279.1 kB / 0.728 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6213, allocations: 0 / 0.728 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004476/0.6218, allocations: 103.9 kB / 0.7281 GB, free: 2.254 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (senH_flow.h_out,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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004329/0.6222, allocations: 177.7 kB / 0.7283 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004585/0.6227, allocations: 207.8 kB / 0.7285 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6227, allocations: 0 / 0.7285 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.6229, allocations: 91.88 kB / 0.7285 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008776/0.6237, allocations: 176.9 kB / 0.7287 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.625, allocations: 0.7331 MB / 0.7294 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.6253, allocations: 0.7997 MB / 0.7302 GB, free: 20 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002306/0.6256, allocations: 75.23 kB / 0.7303 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.6256, allocations: 27.44 kB / 0.7303 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.6257, allocations: 0 / 0.7303 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of Templates: time 0.01212/0.6378, allocations: 6.78 MB / 0.7369 GB, free: 9.262 MB / 0.5919 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)