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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001103/0.001103, allocations: 193.4 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.1 MB / 222 MB, free: 4.977 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.639/1.639, allocations: 251.6 MB / 0.5088 GB, free: 3.328 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.001575/0.001575, allocations: 67.89 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6645/0.6661, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.19/0.8561, allocations: 167.3 MB / 0.8872 GB, free: 5.184 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.8666, allocations: 7.267 MB / 0.8943 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007505/0.8674, allocations: 11.88 kB / 0.8943 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006678/0.8681, allocations: 131.1 kB / 0.8945 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.8715, allocations: 1.187 MB / 0.8956 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.8732, allocations: 0.5864 MB / 0.8962 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001067/0.8742, allocations: 1.076 MB / 0.8972 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003889/0.8746, allocations: 257.8 kB / 0.8975 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.8758, allocations: 0.5332 MB / 0.898 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008031/0.8766, allocations: 438.4 kB / 0.8984 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.8767, allocations: 24 kB / 0.8984 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.8792, allocations: 1.477 MB / 0.8999 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.8793, allocations: 107.7 kB / 0.9 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.8795, allocations: 175.1 kB / 0.9002 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.8811, allocations: 0.9894 MB / 0.9011 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8811, allocations: 0 / 0.9011 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8812, allocations: 0 / 0.9011 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.8812, allocations: 0 / 0.9011 GB, free: 6.91 MB / 0.7169 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.001106/0.8823, allocations: 0.7168 MB / 0.9018 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.8823, allocations: 8.031 kB / 0.9018 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.8834, allocations: 131.4 kB / 0.902 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.8839, allocations: 329.8 kB / 0.9023 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/0.884, allocations: 50.27 kB / 0.9023 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.884, allocations: 31.94 kB / 0.9023 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/0.8846, allocations: 320.8 kB / 0.9027 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.8846, allocations: 0 / 0.9027 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.8847, allocations: 15.98 kB / 0.9027 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.8847, allocations: 8 kB / 0.9027 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.8852, allocations: 290 kB / 0.903 GB, free: 4.938 MB / 0.7169 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.001691/0.8869, allocations: 1.102 MB / 0.904 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005939/0.8876, allocations: 274.5 kB / 0.9043 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.8878, allocations: 140.8 kB / 0.9044 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.8889, allocations: 0.5014 MB / 0.9049 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.8889, allocations: 42.5 kB / 0.905 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 2.314e-06/0.8889, allocations: 0 / 0.905 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.001097/0.89, allocations: 418.1 kB / 0.9054 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.8901, allocations: 59.34 kB / 0.9054 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.8904, allocations: 308.5 kB / 0.9057 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.8904, allocations: 29.7 kB / 0.9057 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.8906, allocations: 172.4 kB / 0.9059 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.889e-05/0.8907, allocations: 70.94 kB / 0.906 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.737e-05/0.8908, allocations: 53.64 kB / 0.906 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.8909, allocations: 346.7 kB / 0.9063 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.8911, allocations: 103.9 kB / 0.9064 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.8914, allocations: 138.5 kB / 0.9066 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/0.8919, allocations: 258.3 kB / 0.9068 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.8919, allocations: 0 / 0.9068 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006096/0.8925, allocations: 317.1 kB / 0.9071 GB, free: 396 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.8925, allocations: 8 kB / 0.9071 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.8925, allocations: 0 / 0.9071 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.8926, allocations: 0 / 0.9071 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.8928, allocations: 47.97 kB / 0.9072 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.8928, allocations: 7.938 kB / 0.9072 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.8931, allocations: 31.73 kB / 0.9072 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.8932, allocations: 15.94 kB / 0.9072 GB, free: 284 kB / 0.7169 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.000172/0.8933, allocations: 153.8 kB / 0.9074 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.8935, allocations: 35.61 kB / 0.9074 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4445/1.338, allocations: 358.4 kB / 0.9078 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/1.338, allocations: 7 kB / 0.9078 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.338, allocations: 0 / 0.9078 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/1.338, allocations: 9.406 kB / 0.9078 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/1.34, allocations: 0.8853 MB / 0.9086 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.34, allocations: 1.609 kB / 0.9086 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/1.34, allocations: 46.14 kB / 0.9087 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/1.34, allocations: 3.391 kB / 0.9087 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/1.34, allocations: 9.688 kB / 0.9087 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/1.34, allocations: 2.906 kB / 0.9087 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.34, allocations: 7.062 kB / 0.9087 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/1.341, allocations: 0.6037 MB / 0.9093 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/1.342, allocations: 142.2 kB / 0.9094 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/1.342, allocations: 4.344 kB / 0.9094 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/1.342, allocations: 27.17 kB / 0.9095 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/1.342, allocations: 23.09 kB / 0.9095 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/1.342, allocations: 11.14 kB / 0.9095 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003/1.343, allocations: 221.7 kB / 0.9097 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.343, allocations: 0 / 0.9097 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006679/1.343, allocations: 131.6 kB / 0.9098 GB, free: 184.6 MB / 0.7169 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.0006653/1.344, allocations: 236.9 kB / 0.9101 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006816/1.345, allocations: 260 kB / 0.9103 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.345, allocations: 3.562 kB / 0.9103 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003747/1.345, allocations: 150.4 kB / 0.9104 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009323/1.346, allocations: 151.3 kB / 0.9106 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/1.347, allocations: 0.8365 MB / 0.9114 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/1.348, allocations: 0.7931 MB / 0.9122 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000345/1.348, allocations: 91.42 kB / 0.9123 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/1.348, allocations: 33.91 kB / 0.9123 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of SimCode: time 1.192e-06/1.348, allocations: 0 / 0.9123 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.01723/1.365, allocations: 7.249 MB / 0.9194 GB, free: 181 MB / 0.7169 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)