Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.608/2.608, allocations: 287.9 MB / 302.9 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 179.3 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.6301 GB, free: 10.37 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 85.69 kB / 0.7434 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004662, allocations: 12.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1584, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7644/0.9228, allocations: 141.8 MB / 1.117 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008248/0.9311, allocations: 5.271 MB / 1.122 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006364/0.9317, allocations: 13.03 kB / 1.122 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000748/0.9325, allocations: 197.8 kB / 1.123 GB, free: 484 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.9353, allocations: 0.7011 MB / 1.123 GB, free: 444 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.9374, allocations: 0.4981 MB / 1.124 GB, free: 432 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0009631/0.9384, allocations: 456.1 kB / 1.124 GB, free: 412 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004895/0.9389, allocations: 231.8 kB / 1.124 GB, free: 388 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.9404, allocations: 0.4914 MB / 1.125 GB, free: 332 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008378/0.9412, allocations: 331.7 kB / 1.125 GB, free: 284 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.037e-05/0.9413, allocations: 15.12 kB / 1.125 GB, free: 284 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.9431, allocations: 0.5528 MB / 1.126 GB, free: 260 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.9433, allocations: 99.47 kB / 1.126 GB, free: 248 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.9435, allocations: 89.83 kB / 1.126 GB, free: 204 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008871/0.9444, allocations: 466.8 kB / 1.126 GB, free: 168 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.448e-06/0.9444, allocations: 0 / 1.126 GB, free: 168 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.161e-06/0.9444, allocations: 0 / 1.126 GB, free: 168 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.9444, allocations: 0 / 1.126 GB, free: 168 kB / 0.6823 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.001051/0.9455, allocations: 0.6189 MB / 1.127 GB, free: 15.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.9455, allocations: 8.5 kB / 1.127 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.9468, allocations: 137.5 kB / 1.127 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.9474, allocations: 307.2 kB / 1.127 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.9475, allocations: 47.22 kB / 1.127 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.9476, allocations: 29.75 kB / 1.127 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008025/0.9484, allocations: 376.5 kB / 1.128 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.9485, allocations: 0 / 1.128 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.9485, allocations: 11.91 kB / 1.128 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.9485, allocations: 11.81 kB / 1.128 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006746/0.9492, allocations: 278.3 kB / 1.128 GB, free: 15.29 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.002367/0.9516, allocations: 1.485 MB / 1.13 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/0.9522, allocations: 170.1 kB / 1.13 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004761/0.9527, allocations: 140.9 kB / 1.13 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.9528, allocations: 32.22 kB / 1.13 GB, free: 14.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 3.637e-06/0.9528, allocations: 3.219 kB / 1.13 GB, free: 14.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001334/0.9541, allocations: 378.8 kB / 1.13 GB, free: 14.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.9542, allocations: 53.88 kB / 1.13 GB, free: 14.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/0.9546, allocations: 319.1 kB / 1.131 GB, free: 13.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.9547, allocations: 30.3 kB / 1.131 GB, free: 13.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.9549, allocations: 181.9 kB / 1.131 GB, free: 13.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.955, allocations: 58.56 kB / 1.131 GB, free: 13.72 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.955, allocations: 2.875 kB / 1.131 GB, free: 13.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.9552, allocations: 344.9 kB / 1.131 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.9555, allocations: 94.88 kB / 1.131 GB, free: 13.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.9558, allocations: 165.8 kB / 1.131 GB, free: 13.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.9561, allocations: 112.4 kB / 1.132 GB, free: 13.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.9562, allocations: 0 / 1.132 GB, free: 13.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008763/0.957, allocations: 311 kB / 1.132 GB, free: 13.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.9571, allocations: 4.125 kB / 1.132 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.9571, allocations: 3.156 kB / 1.132 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.9571, allocations: 2.625 kB / 1.132 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.9574, allocations: 49.41 kB / 1.132 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.9575, allocations: 2.375 kB / 1.132 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.9578, allocations: 47.36 kB / 1.132 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.9579, allocations: 10.44 kB / 1.132 GB, free: 13.23 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0002523/0.9582, allocations: 154.2 kB / 1.132 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.9583, allocations: 32.42 kB / 1.132 GB, free: 13.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009524/0.9593, allocations: 331.4 kB / 1.132 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.405e-06/0.9593, allocations: 2.875 kB / 1.132 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9593, allocations: 1.969 kB / 1.132 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.292e-06/0.9594, allocations: 2.203 kB / 1.133 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.9612, allocations: 0.8172 MB / 1.133 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.886e-06/0.9612, allocations: 2.688 kB / 1.133 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.9615, allocations: 39.72 kB / 1.133 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.9615, allocations: 6.641 kB / 1.133 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.9615, allocations: 10.47 kB / 1.133 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.841e-06/0.9615, allocations: 2.688 kB / 1.133 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.9616, allocations: 0 / 1.133 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009297/0.9625, allocations: 0.4883 MB / 1.134 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.9627, allocations: 140.4 kB / 1.134 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/0.9628, allocations: 5.688 kB / 1.134 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.9632, allocations: 24.7 kB / 1.134 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.9633, allocations: 20.34 kB / 1.134 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.065e-05/0.9633, allocations: 15.44 kB / 1.134 GB, free: 12.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002965/0.9636, allocations: 224.8 kB / 1.134 GB, free: 12.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.12e-07/0.9636, allocations: 1.953 kB / 1.134 GB, free: 12.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006789/0.9643, allocations: 119.9 kB / 1.134 GB, free: 12.09 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.0006235/0.965, allocations: 213.1 kB / 1.135 GB, free: 11.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007155/0.9657, allocations: 234.3 kB / 1.135 GB, free: 11.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.603e-06/0.9657, allocations: 0 / 1.135 GB, free: 11.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.9661, allocations: 125.6 kB / 1.135 GB, free: 11.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009845/0.9671, allocations: 151.4 kB / 1.135 GB, free: 11.94 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.9685, allocations: 0.7019 MB / 1.136 GB, free: 11.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.9691, allocations: 0.7946 MB / 1.137 GB, free: 10.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005086/0.9696, allocations: 87.34 kB / 1.137 GB, free: 10.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.9697, allocations: 27.44 kB / 1.137 GB, free: 10.81 MB / 0.698 GB Notification: Performance of SimCode: time 1.495e-06/0.9697, allocations: 0 / 1.137 GB, free: 10.81 MB / 0.698 GB Notification: Performance of Templates: time 0.01809/0.9878, allocations: 6.85 MB / 1.143 GB, free: 7.695 MB / 0.698 GB