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.0008844/0.0008844, allocations: 91.44 kB / 15.06 MB, free: 1.078 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.001338/0.001338, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.638/1.638, allocations: 252 MB / 0.5102 GB, free: 4.793 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.0005975/0.0005975, allocations: 15.28 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.6002, allocations: 106.3 MB / 0.7281 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1789/0.7792, allocations: 152.3 MB / 0.8769 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007182/0.7864, allocations: 6.134 MB / 0.8829 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005188/0.7869, allocations: 11.94 kB / 0.8829 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005089/0.7875, allocations: 115.1 kB / 0.883 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.7892, allocations: 0.5909 MB / 0.8836 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.000882/0.7901, allocations: 270.1 kB / 0.8838 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009582/0.7911, allocations: 0.8811 MB / 0.8847 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000382/0.7915, allocations: 217.3 kB / 0.8849 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.7925, allocations: 466.1 kB / 0.8853 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.7929, allocations: 271 kB / 0.8856 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.7929, allocations: 16 kB / 0.8856 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.7935, allocations: 195.5 kB / 0.8858 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.7936, allocations: 99.69 kB / 0.8859 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 8.543e-05/0.7937, allocations: 85.52 kB / 0.886 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.7941, allocations: 335.2 kB / 0.8863 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7941, allocations: 0 / 0.8863 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7941, allocations: 0 / 0.8863 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.7941, allocations: 0 / 0.8863 GB, free: 9.086 MB / 0.7012 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.0008355/0.795, allocations: 0.5728 MB / 0.8869 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.795, allocations: 8.031 kB / 0.8869 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003082/0.7953, allocations: 59.59 kB / 0.8869 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.7957, allocations: 317.9 kB / 0.8872 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.7958, allocations: 24.56 kB / 0.8873 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.7958, allocations: 28 kB / 0.8873 GB, free: 8 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.7964, allocations: 308.2 kB / 0.8876 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.7964, allocations: 3.938 kB / 0.8876 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.7964, allocations: 8 kB / 0.8876 GB, free: 7.676 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.7964, allocations: 15.95 kB / 0.8876 GB, free: 7.66 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.7969, allocations: 229.5 kB / 0.8878 GB, free: 7.438 MB / 0.7012 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.001361/0.7982, allocations: 1.145 MB / 0.8889 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.7987, allocations: 198.5 kB / 0.8891 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.7989, allocations: 117.1 kB / 0.8892 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005955/0.7995, allocations: 319.2 kB / 0.8895 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.7995, allocations: 30.56 kB / 0.8896 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=19): time 1.313e-06/0.7995, allocations: 0 / 0.8896 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.0008247/0.8004, allocations: 365 kB / 0.8899 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.8004, allocations: 51.41 kB / 0.89 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.8007, allocations: 304.6 kB / 0.8903 GB, free: 4.734 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.8007, allocations: 25.7 kB / 0.8903 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.8009, allocations: 172.3 kB / 0.8905 GB, free: 4.531 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.8009, allocations: 63.02 kB / 0.8905 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/0.8009, allocations: 4 kB / 0.8905 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.8011, allocations: 342.8 kB / 0.8908 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.8013, allocations: 79.95 kB / 0.8909 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.8015, allocations: 118.1 kB / 0.891 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.8017, allocations: 94.84 kB / 0.8911 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8017, allocations: 4 kB / 0.8911 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004402/0.8021, allocations: 265.1 kB / 0.8914 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8021, allocations: 4 kB / 0.8914 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.8022, allocations: 0 / 0.8914 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.8022, allocations: 7.984 kB / 0.8914 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.8024, allocations: 39.95 kB / 0.8914 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.8024, allocations: 7.984 kB / 0.8914 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.8026, allocations: 31.83 kB / 0.8915 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.8026, allocations: 11.98 kB / 0.8915 GB, free: 3.461 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.8028, allocations: 145.8 kB / 0.8916 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.8028, allocations: 31.58 kB / 0.8916 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.8034, allocations: 279.8 kB / 0.8919 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.8034, allocations: 3.953 kB / 0.8919 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8034, allocations: 0 / 0.8919 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.8034, allocations: 3.984 kB / 0.8919 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.8045, allocations: 0.7732 MB / 0.8927 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.8046, allocations: 0 / 0.8927 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.8048, allocations: 43.92 kB / 0.8927 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.8048, allocations: 4 kB / 0.8927 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.8048, allocations: 4 kB / 0.8927 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.8048, allocations: 4 kB / 0.8927 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.8048, allocations: 4.203 kB / 0.8927 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007697/0.8056, allocations: 0.5165 MB / 0.8932 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.8057, allocations: 132.7 kB / 0.8934 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.8058, allocations: 4 kB / 0.8934 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.806, allocations: 28.05 kB / 0.8934 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.8061, allocations: 19.91 kB / 0.8934 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.8061, allocations: 12 kB / 0.8934 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002216/0.8063, allocations: 211.1 kB / 0.8936 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8063, allocations: 4 kB / 0.8936 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004041/0.8067, allocations: 83.84 kB / 0.8937 GB, free: 1.023 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000494/0.8072, allocations: 164.4 kB / 0.8939 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000479/0.8077, allocations: 207.7 kB / 0.8941 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8077, allocations: 0 / 0.8941 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.808, allocations: 120.3 kB / 0.8942 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008466/0.8088, allocations: 136.5 kB / 0.8943 GB, free: 416 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.8101, allocations: 0.7952 MB / 0.8951 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.8105, allocations: 0.7836 MB / 0.8959 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002163/0.8107, allocations: 70.92 kB / 0.8959 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.8108, allocations: 35.31 kB / 0.896 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8108, allocations: 0 / 0.896 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of Templates: time 0.009657/0.8204, allocations: 4.927 MB / 0.9008 GB, free: 9.801 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: