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.001189/0.001189, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.727/1.727, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.596/1.596, allocations: 251.7 MB / 0.5092 GB, free: 3.113 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.001457/0.001457, allocations: 68.47 kB / 0.6223 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5691/0.5706, allocations: 104.7 MB / 0.7245 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2117/0.7823, allocations: 169.6 MB / 0.8901 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009372/0.7918, allocations: 7.192 MB / 0.8971 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006381/0.7925, allocations: 15.88 kB / 0.8972 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.7931, allocations: 162.8 kB / 0.8973 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.7968, allocations: 1.272 MB / 0.8986 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.7986, allocations: 0.6306 MB / 0.8992 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008557/0.7995, allocations: 0.7837 MB / 0.8999 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004915/0.8, allocations: 298.5 kB / 0.9002 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.8012, allocations: 0.5759 MB / 0.9008 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008747/0.8021, allocations: 434.5 kB / 0.9012 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.168e-05/0.8022, allocations: 28 kB / 0.9012 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.8047, allocations: 1.251 MB / 0.9024 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.8049, allocations: 123.7 kB / 0.9026 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.8051, allocations: 187.1 kB / 0.9027 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.8066, allocations: 0.9117 MB / 0.9036 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.8066, allocations: 4 kB / 0.9036 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.556e-06/0.8066, allocations: 0 / 0.9036 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.8066, allocations: 3.938 kB / 0.9036 GB, free: 4.926 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.001139/0.8078, allocations: 0.7051 MB / 0.9043 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.8078, allocations: 8.031 kB / 0.9043 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.8089, allocations: 131.4 kB / 0.9045 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.8094, allocations: 337.7 kB / 0.9048 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-05/0.8095, allocations: 54.25 kB / 0.9048 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/0.8095, allocations: 24 kB / 0.9049 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006045/0.8101, allocations: 316.8 kB / 0.9052 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.8102, allocations: 0 / 0.9052 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.8102, allocations: 12 kB / 0.9052 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.8102, allocations: 8 kB / 0.9052 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005649/0.8108, allocations: 298 kB / 0.9055 GB, free: 2.961 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.001765/0.8126, allocations: 1.11 MB / 0.9065 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005988/0.8132, allocations: 276.5 kB / 0.9068 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.8135, allocations: 136.8 kB / 0.9069 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.8145, allocations: 0.5014 MB / 0.9074 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.8146, allocations: 42.56 kB / 0.9075 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.8146, allocations: 0 / 0.9075 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.001059/0.8156, allocations: 421 kB / 0.9079 GB, free: 292 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.8157, allocations: 63.39 kB / 0.9079 GB, free: 216 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5701/1.386, allocations: 300.6 kB / 0.9082 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/1.386, allocations: 30.86 kB / 0.9082 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/1.386, allocations: 167.1 kB / 0.9084 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.433e-05/1.386, allocations: 76.75 kB / 0.9085 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/1.386, allocations: 51.02 kB / 0.9085 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.995e-05/1.386, allocations: 345.5 kB / 0.9089 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/1.387, allocations: 102.5 kB / 0.909 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/1.387, allocations: 138.8 kB / 0.9091 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/1.388, allocations: 254.5 kB / 0.9093 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.388, allocations: 0 / 0.9093 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00105/1.389, allocations: 314.1 kB / 0.9096 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/1.389, allocations: 5.812 kB / 0.9096 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.389, allocations: 4.828 kB / 0.9096 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.389, allocations: 2.125 kB / 0.9096 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/1.389, allocations: 52.45 kB / 0.9097 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.389, allocations: 2.594 kB / 0.9097 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/1.389, allocations: 31.45 kB / 0.9097 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/1.389, allocations: 9.781 kB / 0.9097 GB, free: 185 MB / 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.0001734/1.39, allocations: 156.5 kB / 0.9099 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/1.39, allocations: 34.64 kB / 0.9099 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009805/1.391, allocations: 366.8 kB / 0.9103 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/1.391, allocations: 2.312 kB / 0.9103 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.391, allocations: 2.312 kB / 0.9103 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.391, allocations: 2.172 kB / 0.9103 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/1.392, allocations: 0.8837 MB / 0.9111 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.392, allocations: 5.219 kB / 0.9111 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/1.393, allocations: 50.25 kB / 0.9112 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/1.393, allocations: 3.062 kB / 0.9112 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/1.393, allocations: 9.547 kB / 0.9112 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.393, allocations: 3.562 kB / 0.9112 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.393, allocations: 6.656 kB / 0.9112 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/1.394, allocations: 0.5974 MB / 0.9118 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/1.394, allocations: 138.3 kB / 0.9119 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/1.394, allocations: 8.312 kB / 0.9119 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/1.394, allocations: 15.64 kB / 0.9119 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.874e-05/1.394, allocations: 30.05 kB / 0.912 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/1.394, allocations: 13.09 kB / 0.912 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002479/1.395, allocations: 225.4 kB / 0.9122 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.395, allocations: 0 / 0.9122 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005756/1.395, allocations: 128.9 kB / 0.9123 GB, free: 183.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.000634/1.396, allocations: 242.2 kB / 0.9126 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000681/1.396, allocations: 272.7 kB / 0.9128 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.397, allocations: 3.688 kB / 0.9128 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003107/1.397, allocations: 141.1 kB / 0.913 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009148/1.398, allocations: 163.1 kB / 0.9131 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/1.399, allocations: 0.7551 MB / 0.9138 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/1.399, allocations: 0.7889 MB / 0.9146 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000321/1.4, allocations: 93.61 kB / 0.9147 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/1.4, allocations: 29.97 kB / 0.9147 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/1.4, allocations: 0 / 0.9147 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.01606/1.416, allocations: 7.547 MB / 0.9221 GB, free: 179.6 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)