Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.649/1.649, allocations: 287.5 MB / 302.6 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009646/0.0009646, allocations: 180.6 kB / 371.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008177/0.0008177, allocations: 97.94 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004224, allocations: 13.27 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2062, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7649/0.9712, allocations: 153.9 MB / 1.129 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009193/0.9805, allocations: 6.649 MB / 1.136 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009155/0.9814, allocations: 10.59 kB / 1.136 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000713/0.9822, allocations: 121.9 kB / 1.136 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003712/0.9859, allocations: 0.8331 MB / 1.136 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.9879, allocations: 482.3 kB / 1.137 GB, free: 14.94 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001203/0.9891, allocations: 0.9057 MB / 1.138 GB, free: 14.8 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000383/0.9895, allocations: 227.4 kB / 1.138 GB, free: 14.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.9906, allocations: 482.1 kB / 1.138 GB, free: 14.63 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007544/0.9914, allocations: 396.4 kB / 1.139 GB, free: 14.54 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.9914, allocations: 16.66 kB / 1.139 GB, free: 14.54 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.993, allocations: 0.6337 MB / 1.139 GB, free: 14.44 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.9931, allocations: 104.2 kB / 1.14 GB, free: 14.43 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.323e-05/0.9932, allocations: 85.55 kB / 1.14 GB, free: 14.39 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006655/0.9939, allocations: 0.5251 MB / 1.14 GB, free: 14.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.9939, allocations: 0 / 1.14 GB, free: 14.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9939, allocations: 0 / 1.14 GB, free: 14.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.9939, allocations: 1.094 kB / 1.14 GB, free: 14.3 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009752/0.9949, allocations: 0.634 MB / 1.141 GB, free: 13.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.995, allocations: 17.34 kB / 1.141 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008969/0.9959, allocations: 125.2 kB / 1.141 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.9963, allocations: 330.6 kB / 1.141 GB, free: 13.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.78e-05/0.9964, allocations: 48.55 kB / 1.141 GB, free: 13.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.9965, allocations: 25.94 kB / 1.141 GB, free: 13.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006666/0.9971, allocations: 372.3 kB / 1.142 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.9972, allocations: 3.938 kB / 1.142 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.9972, allocations: 9.25 kB / 1.142 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.9972, allocations: 6.406 kB / 1.142 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005841/0.9978, allocations: 290 kB / 1.142 GB, free: 13.39 MB / 0.698 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.00192/0.9998, allocations: 1.495 MB / 1.143 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/1, allocations: 201.5 kB / 1.144 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/1, allocations: 122.6 kB / 1.144 GB, free: 12.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/1.002, allocations: 0.5188 MB / 1.144 GB, free: 11.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/1.002, allocations: 39.03 kB / 1.144 GB, free: 11.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/1.002, allocations: 1.75 kB / 1.144 GB, free: 11.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0009453/1.003, allocations: 375 kB / 1.145 GB, free: 11.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/1.003, allocations: 57.75 kB / 1.145 GB, free: 11.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/1.003, allocations: 308.9 kB / 1.145 GB, free: 11.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/1.003, allocations: 30.02 kB / 1.145 GB, free: 11.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/1.003, allocations: 183.5 kB / 1.145 GB, free: 11.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/1.003, allocations: 51.31 kB / 1.145 GB, free: 11.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/1.003, allocations: 3.656 kB / 1.145 GB, free: 11.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.003, allocations: 339.8 kB / 1.146 GB, free: 11.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/1.004, allocations: 93.48 kB / 1.146 GB, free: 11.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/1.004, allocations: 150.4 kB / 1.146 GB, free: 11.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/1.004, allocations: 260.7 kB / 1.146 GB, free: 10.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.004, allocations: 1.406 kB / 1.146 GB, free: 10.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00057/1.005, allocations: 286.2 kB / 1.146 GB, free: 10.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.005, allocations: 5.531 kB / 1.146 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.005, allocations: 2.469 kB / 1.146 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.005, allocations: 4.188 kB / 1.146 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/1.005, allocations: 44.17 kB / 1.146 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/1.005, allocations: 2.375 kB / 1.146 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/1.005, allocations: 49.23 kB / 1.146 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/1.005, allocations: 12.8 kB / 1.146 GB, free: 10.89 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001656/1.006, allocations: 156.8 kB / 1.147 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.683e-05/1.006, allocations: 28.88 kB / 1.147 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007417/1.006, allocations: 321.6 kB / 1.147 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.006, allocations: 2.656 kB / 1.147 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.007, allocations: 0 / 1.147 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.007, allocations: 0 / 1.147 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/1.008, allocations: 0.8244 MB / 1.148 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.008, allocations: 2.625 kB / 1.148 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/1.008, allocations: 36.48 kB / 1.148 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/1.008, allocations: 3.125 kB / 1.148 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/1.008, allocations: 11.34 kB / 1.148 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.008, allocations: 8.594 kB / 1.148 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.008, allocations: 2.156 kB / 1.148 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/1.009, allocations: 411.7 kB / 1.148 GB, free: 9.941 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/1.009, allocations: 128.5 kB / 1.148 GB, free: 9.824 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/1.009, allocations: 10.72 kB / 1.148 GB, free: 9.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/1.009, allocations: 36.34 kB / 1.148 GB, free: 9.805 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/1.009, allocations: 11.7 kB / 1.148 GB, free: 9.801 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/1.009, allocations: 18.92 kB / 1.148 GB, free: 9.793 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002276/1.01, allocations: 221.1 kB / 1.149 GB, free: 9.691 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.01, allocations: 3.938 kB / 1.149 GB, free: 9.688 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005663/1.01, allocations: 118.5 kB / 1.149 GB, free: 9.668 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0005406/1.011, allocations: 230.1 kB / 1.149 GB, free: 9.516 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005245/1.011, allocations: 223 kB / 1.149 GB, free: 9.469 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.011, allocations: 1.5 kB / 1.149 GB, free: 9.469 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/1.011, allocations: 123.8 kB / 1.149 GB, free: 9.438 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/1.012, allocations: 156.9 kB / 1.149 GB, free: 9.387 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/1.014, allocations: 0.7003 MB / 1.15 GB, free: 8.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/1.014, allocations: 0.787 MB / 1.151 GB, free: 8.168 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003277/1.014, allocations: 86.27 kB / 1.151 GB, free: 8.133 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.001e-05/1.014, allocations: 26.59 kB / 1.151 GB, free: 8.125 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.014, allocations: 0 / 1.151 GB, free: 8.125 MB / 0.698 GB Notification: Performance of Templates: time 0.01367/1.028, allocations: 6.806 MB / 1.158 GB, free: 4.688 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)