Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009415/0.0009415, allocations: 165.7 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.4 MB / 0.5786 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008395/0.0008393, allocations: 94.28 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003346, allocations: 11.28 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2034, allocations: 106.3 MB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6701/0.8736, allocations: 165.1 MB / 1.063 GB, free: 2.012 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00767/0.8813, allocations: 7.171 MB / 1.07 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000608/0.8819, allocations: 13.97 kB / 1.07 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005407/0.8825, allocations: 127.9 kB / 1.07 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.8859, allocations: 1.194 MB / 1.071 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.8877, allocations: 0.575 MB / 1.072 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.8891, allocations: 1.075 MB / 1.073 GB, free: 1.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005614/0.8897, allocations: 255.3 kB / 1.073 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.8912, allocations: 0.5325 MB / 1.073 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.8923, allocations: 432.2 kB / 1.074 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.8924, allocations: 16.44 kB / 1.074 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003582/0.896, allocations: 1.47 MB / 1.075 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.8962, allocations: 113.4 kB / 1.075 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004595/0.8967, allocations: 193.5 kB / 1.076 GB, free: 17.73 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.8982, allocations: 0.6355 MB / 1.076 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8982, allocations: 4.75 kB / 1.076 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8982, allocations: 0 / 1.076 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.8982, allocations: 0 / 1.076 GB, free: 17.68 MB / 0.7136 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.001154/0.8994, allocations: 0.642 MB / 1.077 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.8994, allocations: 13.12 kB / 1.077 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.9005, allocations: 132.5 kB / 1.077 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.901, allocations: 336.3 kB / 1.077 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.378e-05/0.9011, allocations: 52.69 kB / 1.077 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/0.9012, allocations: 27.06 kB / 1.077 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007713/0.902, allocations: 332.5 kB / 1.078 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.902, allocations: 1.906 kB / 1.078 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.9021, allocations: 13.56 kB / 1.078 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.9021, allocations: 6.5 kB / 1.078 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007032/0.9028, allocations: 303.7 kB / 1.078 GB, free: 16.85 MB / 0.7136 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.002216/0.905, allocations: 1.11 MB / 1.079 GB, free: 16.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/0.9058, allocations: 278.8 kB / 1.079 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.9062, allocations: 143.1 kB / 1.079 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.9074, allocations: 0.5187 MB / 1.08 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.9074, allocations: 41.31 kB / 1.08 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 2.445e-06/0.9074, allocations: 0 / 1.08 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.001263/0.9087, allocations: 442.1 kB / 1.08 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.9088, allocations: 57.22 kB / 1.08 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004073/0.9092, allocations: 305.4 kB / 1.081 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.9092, allocations: 34.64 kB / 1.081 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.9094, allocations: 169.6 kB / 1.081 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.9094, allocations: 76.31 kB / 1.081 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.9095, allocations: 4.375 kB / 1.081 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.9096, allocations: 339.8 kB / 1.081 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.9099, allocations: 112.1 kB / 1.081 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.9102, allocations: 146.5 kB / 1.082 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/0.9107, allocations: 262.4 kB / 1.082 GB, free: 15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9107, allocations: 0 / 1.082 GB, free: 15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000636/0.9113, allocations: 324.1 kB / 1.082 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.9113, allocations: 5.688 kB / 1.082 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.9114, allocations: 7.5 kB / 1.082 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.9114, allocations: 5.406 kB / 1.082 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.9116, allocations: 50.84 kB / 1.082 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9116, allocations: 1.406 kB / 1.082 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.9119, allocations: 46.81 kB / 1.082 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.912, allocations: 8.797 kB / 1.082 GB, free: 14.93 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.000177/0.9122, allocations: 152 kB / 1.082 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.9123, allocations: 38.22 kB / 1.082 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008254/0.9131, allocations: 381.1 kB / 1.083 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.9131, allocations: 7.344 kB / 1.083 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.9131, allocations: 0 / 1.083 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.9131, allocations: 2.438 kB / 1.083 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.9146, allocations: 0.8981 MB / 1.084 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.9147, allocations: 0.9375 kB / 1.084 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.9149, allocations: 52.64 kB / 1.084 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.9149, allocations: 3 kB / 1.084 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.915, allocations: 9.234 kB / 1.084 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.915, allocations: 5.312 kB / 1.084 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.915, allocations: 4.547 kB / 1.084 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.916, allocations: 0.6164 MB / 1.084 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.9162, allocations: 145 kB / 1.085 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.9162, allocations: 6.875 kB / 1.085 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.9165, allocations: 27.41 kB / 1.085 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.9166, allocations: 26.94 kB / 1.085 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.9167, allocations: 15.23 kB / 1.085 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002585/0.9169, allocations: 222.6 kB / 1.085 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9169, allocations: 0 / 1.085 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007101/0.9177, allocations: 128.9 kB / 1.085 GB, free: 13.92 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senS_flow.s_out,senS.s) * 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 (22): * Single equations (assignments): 22 * 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.0007021/0.9184, allocations: 229.7 kB / 1.085 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006152/0.919, allocations: 264.8 kB / 1.085 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.919, allocations: 1.25 kB / 1.085 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.9193, allocations: 154.4 kB / 1.086 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009846/0.9203, allocations: 167.3 kB / 1.086 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.9217, allocations: 0.927 MB / 1.087 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.9221, allocations: 0.7904 MB / 1.087 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.9222, allocations: 31.19 kB / 1.087 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9222, allocations: 0 / 1.087 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of Templates: time 0.0112/0.9334, allocations: 6.488 MB / 1.094 GB, free: 11.93 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)