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.001529/0.001529, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001176/0.001176, allocations: 192 kB / 16.13 MB, free: 6.699 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.446/1.446, allocations: 205.1 MB / 222 MB, free: 4.762 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.612/1.612, allocations: 251.6 MB / 0.5088 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.001374/0.001374, allocations: 67.89 kB / 0.6216 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6592, allocations: 104.7 MB / 0.7238 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1781/0.8373, allocations: 165.4 MB / 0.8854 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006762/0.8442, allocations: 6.609 MB / 0.8918 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005312/0.8447, allocations: 15.88 kB / 0.8918 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.8454, allocations: 131.1 kB / 0.892 GB, free: 492 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.848, allocations: 0.7899 MB / 0.8927 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009932/0.849, allocations: 286.7 kB / 0.893 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009872/0.85, allocations: 1.033 MB / 0.894 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004314/0.8505, allocations: 246 kB / 0.8942 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.8517, allocations: 0.5098 MB / 0.8947 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.8522, allocations: 294.9 kB / 0.895 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.8522, allocations: 19.94 kB / 0.895 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008615/0.8531, allocations: 406.9 kB / 0.8954 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.8532, allocations: 99.7 kB / 0.8955 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.8534, allocations: 159.2 kB / 0.8957 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006162/0.854, allocations: 494.4 kB / 0.8961 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8541, allocations: 0 / 0.8961 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8541, allocations: 0 / 0.8961 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.8541, allocations: 0 / 0.8961 GB, free: 12.17 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.0009977/0.8551, allocations: 0.635 MB / 0.8968 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.8551, allocations: 12.03 kB / 0.8968 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/0.8555, allocations: 63.52 kB / 0.8968 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.8559, allocations: 317.8 kB / 0.8971 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.8559, allocations: 16.56 kB / 0.8972 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.856, allocations: 28 kB / 0.8972 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005609/0.8566, allocations: 308.2 kB / 0.8975 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.8566, allocations: 3.938 kB / 0.8975 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.8566, allocations: 12 kB / 0.8975 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.8566, allocations: 8 kB / 0.8975 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.8571, allocations: 217.5 kB / 0.8977 GB, free: 10.48 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.001418/0.8585, allocations: 1.152 MB / 0.8988 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.8589, allocations: 198.5 kB / 0.899 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.8592, allocations: 112.8 kB / 0.8991 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006784/0.8599, allocations: 299.2 kB / 0.8994 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.8599, allocations: 38.55 kB / 0.8995 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.8599, allocations: 3.938 kB / 0.8995 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.0008155/0.8607, allocations: 341.4 kB / 0.8998 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.8608, allocations: 51.41 kB / 0.8998 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.861, allocations: 300.5 kB / 0.9001 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.8611, allocations: 37.7 kB / 0.9002 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.8612, allocations: 168.3 kB / 0.9003 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.8612, allocations: 67.09 kB / 0.9004 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/0.8613, allocations: 41.7 kB / 0.9004 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.8614, allocations: 334.8 kB / 0.9007 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.8616, allocations: 79.94 kB / 0.9008 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.8618, allocations: 105.7 kB / 0.9009 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.8622, allocations: 195.9 kB / 0.9011 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.8622, allocations: 3.938 kB / 0.9011 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004293/0.8626, allocations: 251.3 kB / 0.9013 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.8626, allocations: 6.031 kB / 0.9013 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.8626, allocations: 8.031 kB / 0.9014 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.8627, allocations: 0 / 0.9014 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.8628, allocations: 35.98 kB / 0.9014 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.8629, allocations: 0 / 0.9014 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.8631, allocations: 39.66 kB / 0.9014 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.8631, allocations: 12 kB / 0.9014 GB, free: 6.41 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.0001457/0.8633, allocations: 153.7 kB / 0.9016 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.8633, allocations: 27.72 kB / 0.9016 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005313/0.8639, allocations: 263.8 kB / 0.9019 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.8639, allocations: 4.047 kB / 0.9019 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.8639, allocations: 3.984 kB / 0.9019 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8639, allocations: 3.938 kB / 0.9019 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.865, allocations: 0.7654 MB / 0.9026 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.865, allocations: 224 / 0.9026 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.8652, allocations: 51.84 kB / 0.9027 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.8652, allocations: 4 kB / 0.9027 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.8652, allocations: 11.94 kB / 0.9027 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.8652, allocations: 4 kB / 0.9027 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8653, allocations: 3.938 kB / 0.9027 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007287/0.866, allocations: 0.4955 MB / 0.9032 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.8661, allocations: 120.7 kB / 0.9033 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.8662, allocations: 11.98 kB / 0.9033 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.8664, allocations: 19.98 kB / 0.9033 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.8665, allocations: 15.98 kB / 0.9033 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.8665, allocations: 8 kB / 0.9033 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002123/0.8667, allocations: 215 kB / 0.9036 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8667, allocations: 0 / 0.9036 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003922/0.8671, allocations: 87.84 kB / 0.9036 GB, free: 4.008 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.0005221/0.8676, allocations: 149.4 kB / 0.9038 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004628/0.8681, allocations: 198.6 kB / 0.904 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8681, allocations: 0 / 0.904 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.8684, allocations: 107.8 kB / 0.9041 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008854/0.8693, allocations: 157.2 kB / 0.9042 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.8703, allocations: 0.7757 MB / 0.905 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.8706, allocations: 0.7836 MB / 0.9057 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.8708, allocations: 66.92 kB / 0.9058 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.8709, allocations: 27.44 kB / 0.9058 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8709, allocations: 0 / 0.9058 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of Templates: time 0.4078/1.279, allocations: 5.106 MB / 0.9108 GB, free: 185.1 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)