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.385/1.385, allocations: 252 MB / 267.6 MB, free: 10.96 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.001145/0.001145, allocations: 182.5 kB / 327.3 MB, free: 2.207 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.817/1.817, allocations: 205.4 MB / 0.5783 GB, free: 20.47 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.000799/0.0007986, allocations: 86.58 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003819, allocations: 12.19 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2694, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1875/0.4569, allocations: 154.1 MB / 1.051 GB, free: 5.754 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.6455/1.103, allocations: 6.689 MB / 1.058 GB, free: 4.312 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006704/1.103, allocations: 11.78 kB / 1.058 GB, free: 4.312 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005317/1.104, allocations: 120.6 kB / 1.058 GB, free: 4.312 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002693/1.107, allocations: 0.8385 MB / 1.059 GB, free: 4.305 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/1.108, allocations: 482.4 kB / 1.059 GB, free: 4.301 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009926/1.109, allocations: 0.919 MB / 1.06 GB, free: 4.297 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/1.109, allocations: 234.6 kB / 1.06 GB, free: 4.281 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/1.11, allocations: 482.4 kB / 1.061 GB, free: 4.277 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000768/1.111, allocations: 404.3 kB / 1.061 GB, free: 4.277 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/1.111, allocations: 17.22 kB / 1.061 GB, free: 4.277 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/1.113, allocations: 0.645 MB / 1.062 GB, free: 4.262 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/1.113, allocations: 105.3 kB / 1.062 GB, free: 4.262 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004167/1.113, allocations: 90.75 kB / 1.062 GB, free: 20.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009265/1.114, allocations: 0.5263 MB / 1.063 GB, free: 20.19 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.114, allocations: 0 / 1.063 GB, free: 20.19 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.476e-06/1.114, allocations: 0 / 1.063 GB, free: 20.19 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.114, allocations: 2.297 kB / 1.063 GB, free: 20.19 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.001096/1.115, allocations: 0.6444 MB / 1.063 GB, free: 19.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/1.116, allocations: 9.469 kB / 1.063 GB, free: 19.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/1.117, allocations: 126.8 kB / 1.063 GB, free: 19.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/1.117, allocations: 331.7 kB / 1.064 GB, free: 19.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.866e-05/1.117, allocations: 51.41 kB / 1.064 GB, free: 19.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/1.117, allocations: 29.47 kB / 1.064 GB, free: 19.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/1.118, allocations: 330.6 kB / 1.064 GB, free: 19.37 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/1.118, allocations: 0.8906 kB / 1.064 GB, free: 19.37 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/1.118, allocations: 12.25 kB / 1.064 GB, free: 19.37 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/1.118, allocations: 6.562 kB / 1.064 GB, free: 19.37 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006132/1.119, allocations: 303.8 kB / 1.064 GB, free: 19.37 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.001928/1.121, allocations: 1.119 MB / 1.065 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/1.121, allocations: 265.5 kB / 1.066 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/1.121, allocations: 151.2 kB / 1.066 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/1.123, allocations: 0.5182 MB / 1.066 GB, free: 18.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/1.123, allocations: 33.88 kB / 1.066 GB, free: 18.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 3.567e-06/1.123, allocations: 0 / 1.066 GB, free: 18.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.00106/1.124, allocations: 437.8 kB / 1.067 GB, free: 18.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/1.124, allocations: 59.92 kB / 1.067 GB, free: 18.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/1.124, allocations: 303.2 kB / 1.067 GB, free: 18.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/1.124, allocations: 30.64 kB / 1.067 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/1.124, allocations: 172.5 kB / 1.067 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/1.124, allocations: 68.38 kB / 1.067 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/1.124, allocations: 4.719 kB / 1.067 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.125, allocations: 346.6 kB / 1.068 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/1.125, allocations: 112.3 kB / 1.068 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/1.125, allocations: 152.5 kB / 1.068 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/1.126, allocations: 119 kB / 1.068 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.126, allocations: 0 / 1.068 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007779/1.126, allocations: 326.6 kB / 1.068 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.126, allocations: 5.375 kB / 1.068 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/1.126, allocations: 1.344 kB / 1.068 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/1.126, allocations: 6.578 kB / 1.068 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/1.127, allocations: 47.78 kB / 1.068 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/1.127, allocations: 8.938 kB / 1.068 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/1.127, allocations: 39.66 kB / 1.069 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/1.127, allocations: 13.88 kB / 1.069 GB, free: 17.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002076/1.127, allocations: 155 kB / 1.069 GB, free: 17.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/1.127, allocations: 33.52 kB / 1.069 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009509/1.128, allocations: 377.1 kB / 1.069 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/1.128, allocations: 3.672 kB / 1.069 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.128, allocations: 0 / 1.069 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.128, allocations: 2.297 kB / 1.069 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/1.13, allocations: 0.9023 MB / 1.07 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.13, allocations: 2.25 kB / 1.07 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/1.13, allocations: 55.38 kB / 1.07 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.13, allocations: 3.562 kB / 1.07 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/1.131, allocations: 8.625 kB / 1.07 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.455e-06/1.131, allocations: 4.625 kB / 1.07 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.131, allocations: 6.141 kB / 1.07 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/1.132, allocations: 0.6151 MB / 1.071 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/1.132, allocations: 143.8 kB / 1.071 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/1.132, allocations: 9.781 kB / 1.071 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/1.132, allocations: 30.62 kB / 1.071 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/1.132, allocations: 20.17 kB / 1.071 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/1.132, allocations: 19.42 kB / 1.071 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002877/1.133, allocations: 217.5 kB / 1.071 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/1.133, allocations: 0 / 1.071 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006846/1.133, allocations: 123.3 kB / 1.071 GB, free: 16.48 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 (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.0005979/1.134, allocations: 217 kB / 1.071 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006445/1.135, allocations: 269.8 kB / 1.072 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.135, allocations: 0.6562 kB / 1.072 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/1.135, allocations: 155.2 kB / 1.072 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009247/1.136, allocations: 155.9 kB / 1.072 GB, free: 16.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/1.137, allocations: 0.9036 MB / 1.073 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/1.138, allocations: 0.7881 MB / 1.074 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/1.138, allocations: 32.61 kB / 1.074 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/1.138, allocations: 4.844 kB / 1.074 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.01237/1.151, allocations: 6.457 MB / 1.08 GB, free: 14.55 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)