Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.646/1.646, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001859/0.001858, allocations: 176.8 kB / 361.4 MB, free: 6.867 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.519/1.519, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008448/0.000845, allocations: 88.14 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.878e-05, allocations: 4 kB / 0.8517 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6347/0.6348, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.927/5.562, allocations: 2.063 GB / 3.027 GB, free: 52.52 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/5.562, allocations: 83.98 kB / 3.027 GB, free: 52.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.233/6.795, allocations: 300 MB / 3.32 GB, free: 143.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.413e-06/6.795, allocations: 0 / 3.32 GB, free: 143.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.076e-05/6.795, allocations: 15.98 kB / 3.32 GB, free: 143.2 MB / 0.948 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.001688/6.797, allocations: 0.7089 MB / 3.321 GB, free: 142.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/6.797, allocations: 12.03 kB / 3.321 GB, free: 142.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/6.798, allocations: 128.3 kB / 3.321 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/6.799, allocations: 334.4 kB / 3.322 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-05/6.799, allocations: 46.27 kB / 3.322 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/6.799, allocations: 19.94 kB / 3.322 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003504/6.799, allocations: 205.1 kB / 3.322 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/6.8, allocations: 289.1 kB / 3.322 GB, free: 141.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/6.8, allocations: 0 / 3.322 GB, free: 141.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/6.8, allocations: 0 / 3.322 GB, free: 141.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/6.8, allocations: 15.94 kB / 3.322 GB, free: 141.3 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.001582/6.801, allocations: 1.391 MB / 3.324 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/6.802, allocations: 158.6 kB / 3.324 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/6.802, allocations: 96.75 kB / 3.324 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007572/6.802, allocations: 0.5014 MB / 3.324 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/6.802, allocations: 30.56 kB / 3.324 GB, free: 138.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/6.802, allocations: 8 kB / 3.324 GB, free: 138.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0009934/6.803, allocations: 261.9 kB / 3.325 GB, free: 138.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/6.804, allocations: 51.69 kB / 3.325 GB, free: 138.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/6.804, allocations: 198 kB / 3.325 GB, free: 138.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/6.804, allocations: 29.64 kB / 3.325 GB, free: 138.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.912e-05/6.804, allocations: 196 kB / 3.325 GB, free: 138.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/6.804, allocations: 51.2 kB / 3.325 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/6.804, allocations: 0 / 3.325 GB, free: 138.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/6.804, allocations: 338.8 kB / 3.325 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.624e-05/6.804, allocations: 63.97 kB / 3.325 GB, free: 137.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/6.804, allocations: 133.2 kB / 3.326 GB, free: 137.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/6.805, allocations: 131.9 kB / 3.326 GB, free: 137.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/6.805, allocations: 0 / 3.326 GB, free: 137.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000621/6.805, allocations: 270 kB / 3.326 GB, free: 137.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/6.805, allocations: 4 kB / 3.326 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/6.805, allocations: 4.25 kB / 3.326 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/6.805, allocations: 11.98 kB / 3.326 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/6.806, allocations: 43.92 kB / 3.326 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/6.806, allocations: 3.953 kB / 3.326 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/6.806, allocations: 31.81 kB / 3.326 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/6.806, allocations: 12 kB / 3.326 GB, free: 137 MB / 0.948 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 () * 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 7.806e-05/6.806, allocations: 112.9 kB / 3.326 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.132e-05/6.806, allocations: 23.72 kB / 3.326 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/6.807, allocations: 281.8 kB / 3.326 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/6.807, allocations: 3.984 kB / 3.326 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/6.807, allocations: 0 / 3.326 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/6.807, allocations: 3.953 kB / 3.326 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/6.808, allocations: 1.219 MB / 3.328 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/6.808, allocations: 4 kB / 3.328 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/6.809, allocations: 43.91 kB / 3.328 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/6.809, allocations: 7.938 kB / 3.328 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/6.809, allocations: 4 kB / 3.328 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/6.809, allocations: 8.344 kB / 3.328 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/6.809, allocations: 4 kB / 3.328 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/6.809, allocations: 0.5188 MB / 3.328 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/6.809, allocations: 136.7 kB / 3.328 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/6.809, allocations: 0 / 3.328 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/6.81, allocations: 31.92 kB / 3.328 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/6.81, allocations: 19.97 kB / 3.328 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/6.81, allocations: 16 kB / 3.328 GB, free: 134.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001034/6.81, allocations: 154 kB / 3.329 GB, free: 134.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.81, allocations: 0 / 3.329 GB, free: 134.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007749/6.811, allocations: 203.6 kB / 3.329 GB, free: 134 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.001776/6.812, allocations: 1.398 MB / 3.33 GB, free: 132.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002964/6.813, allocations: 167.8 kB / 3.33 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/6.813, allocations: 0 / 3.33 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/6.813, allocations: 100.8 kB / 3.33 GB, free: 132.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/6.813, allocations: 91.38 kB / 3.33 GB, free: 132.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/6.814, allocations: 426.8 kB / 3.331 GB, free: 131.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/6.814, allocations: 0.7912 MB / 3.332 GB, free: 130.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002391/6.815, allocations: 74.11 kB / 3.332 GB, free: 130.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.485e-05/6.815, allocations: 23.42 kB / 3.332 GB, free: 130.8 MB / 0.948 GB Notification: Performance of SimCode: time 3.21e-07/6.815, allocations: 4 kB / 3.332 GB, free: 130.8 MB / 0.948 GB Notification: Performance of Templates: time 0.01695/6.832, allocations: 11.76 MB / 3.343 GB, free: 119.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)