Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001361/0.001361, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001561/0.001561, allocations: 187.8 kB / 16.25 MB, free: 6.629 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.511/1.511, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.597/1.597, allocations: 251.6 MB / 0.5089 GB, free: 3.316 MB / 414.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: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.89 kB / 0.6217 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5906/0.5919, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.206/0.798, allocations: 165.4 MB / 0.8855 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007539/0.8056, allocations: 6.55 MB / 0.8919 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006445/0.8063, allocations: 11.88 kB / 0.8919 GB, free: 0.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006839/0.8071, allocations: 135.1 kB / 0.8921 GB, free: 376 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.8095, allocations: 0.7938 MB / 0.8928 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.8106, allocations: 294.8 kB / 0.8931 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.8117, allocations: 0.7485 MB / 0.8938 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005702/0.8123, allocations: 270.8 kB / 0.8941 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.814, allocations: 0.5488 MB / 0.8946 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.8145, allocations: 306.8 kB / 0.8949 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.952e-05/0.8146, allocations: 24 kB / 0.8949 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.8156, allocations: 355.1 kB / 0.8953 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.8158, allocations: 115.7 kB / 0.8954 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.816, allocations: 175.1 kB / 0.8956 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008708/0.8169, allocations: 0.4984 MB / 0.8961 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.8169, allocations: 0 / 0.8961 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.013e-06/0.817, allocations: 0 / 0.8961 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.817, allocations: 0 / 0.8961 GB, free: 12.25 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001198/0.8182, allocations: 0.6311 MB / 0.8967 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.13e-05/0.8183, allocations: 8.031 kB / 0.8967 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.8187, allocations: 59.59 kB / 0.8967 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005285/0.8192, allocations: 321.7 kB / 0.897 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.8193, allocations: 20.56 kB / 0.8971 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.8193, allocations: 28 kB / 0.8971 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/0.8199, allocations: 304.3 kB / 0.8974 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.82, allocations: 3.938 kB / 0.8974 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.82, allocations: 12 kB / 0.8974 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.82, allocations: 4 kB / 0.8974 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/0.8205, allocations: 217.6 kB / 0.8976 GB, free: 10.57 MB / 0.7169 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.001739/0.8223, allocations: 1.148 MB / 0.8987 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.8227, allocations: 198.4 kB / 0.8989 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.823, allocations: 116.8 kB / 0.899 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006356/0.8236, allocations: 299.2 kB / 0.8993 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.8237, allocations: 38.5 kB / 0.8993 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 2.825e-06/0.8237, allocations: 0 / 0.8993 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.0008607/0.8245, allocations: 352.3 kB / 0.8997 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.8246, allocations: 55.41 kB / 0.8997 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.8249, allocations: 296.6 kB / 0.9 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.825, allocations: 33.7 kB / 0.9 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.8251, allocations: 172.2 kB / 0.9002 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/0.8252, allocations: 63.09 kB / 0.9003 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.738e-05/0.8252, allocations: 41.7 kB / 0.9003 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8254, allocations: 342.8 kB / 0.9006 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.8256, allocations: 75.95 kB / 0.9007 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.8258, allocations: 114.2 kB / 0.9008 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.8261, allocations: 181.5 kB / 0.901 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8261, allocations: 0 / 0.901 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004254/0.8266, allocations: 251.6 kB / 0.9012 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.8266, allocations: 6.031 kB / 0.9012 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.8266, allocations: 4.031 kB / 0.9012 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.8266, allocations: 4 kB / 0.9012 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.8268, allocations: 43.91 kB / 0.9013 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.8268, allocations: 0 / 0.9013 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.8271, allocations: 39.7 kB / 0.9013 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.8271, allocations: 11.98 kB / 0.9013 GB, free: 6.504 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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.0001444/0.8272, allocations: 157.7 kB / 0.9015 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.8273, allocations: 23.72 kB / 0.9015 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005177/0.8278, allocations: 263.8 kB / 0.9018 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.8278, allocations: 4 kB / 0.9018 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.8279, allocations: 0 / 0.9018 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.8279, allocations: 3.984 kB / 0.9018 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.829, allocations: 0.7615 MB / 0.9025 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.829, allocations: 12.22 kB / 0.9025 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.8292, allocations: 35.92 kB / 0.9026 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.8292, allocations: 4 kB / 0.9026 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.8292, allocations: 11.94 kB / 0.9026 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.8293, allocations: 0 / 0.9026 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.8293, allocations: 7.938 kB / 0.9026 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007061/0.83, allocations: 497.6 kB / 0.9031 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.8301, allocations: 124.7 kB / 0.9032 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.8302, allocations: 16 kB / 0.9032 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.8304, allocations: 15.98 kB / 0.9032 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.8304, allocations: 19.92 kB / 0.9032 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.8304, allocations: 7.984 kB / 0.9032 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002107/0.8307, allocations: 219.1 kB / 0.9034 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8307, allocations: 3.938 kB / 0.9034 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003796/0.8311, allocations: 79.84 kB / 0.9035 GB, free: 4.109 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.000423/0.8315, allocations: 153.5 kB / 0.9037 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.832, allocations: 209.9 kB / 0.9039 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.832, allocations: 0 / 0.9039 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.8322, allocations: 107.9 kB / 0.904 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008211/0.833, allocations: 162.3 kB / 0.9041 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.8343, allocations: 0.7815 MB / 0.9049 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.8347, allocations: 0.7834 MB / 0.9057 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002148/0.8349, allocations: 70.92 kB / 0.9057 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/0.835, allocations: 23.44 kB / 0.9057 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.835, allocations: 0 / 0.9057 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of Templates: time 0.4845/1.319, allocations: 5.302 MB / 0.9109 GB, free: 184.9 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)