Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.841/1.841, allocations: 292.3 MB / 308.1 MB, free: 4.242 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.001858/0.001858, allocations: 194.4 kB / 376.9 MB, free: 1.801 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.45/1.45, allocations: 205 MB / 0.6354 GB, free: 9.777 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.00105/0.00105, allocations: 102.1 kB / 0.748 GB, free: 61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2735, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.761/1.035, allocations: 167.2 MB / 1.145 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009511/1.044, allocations: 7.208 MB / 1.153 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006801/1.045, allocations: 10.41 kB / 1.153 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0006944/1.046, allocations: 132.9 kB / 1.153 GB, free: 7.41 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003466/1.049, allocations: 1.191 MB / 1.154 GB, free: 6.812 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/1.051, allocations: 0.58 MB / 1.154 GB, free: 6.512 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001131/1.052, allocations: 1.059 MB / 1.155 GB, free: 6.141 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/1.052, allocations: 242.5 kB / 1.156 GB, free: 6.051 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/1.054, allocations: 0.5373 MB / 1.156 GB, free: 5.816 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007773/1.054, allocations: 417.2 kB / 1.157 GB, free: 5.672 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 4.581e-05/1.054, allocations: 17.53 kB / 1.157 GB, free: 5.672 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/1.057, allocations: 1.471 MB / 1.158 GB, free: 5.125 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/1.057, allocations: 116.9 kB / 1.158 GB, free: 5.074 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001849/1.057, allocations: 171.9 kB / 1.158 GB, free: 4.98 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001461/1.059, allocations: 0.9769 MB / 1.159 GB, free: 4.66 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.059, allocations: 0 / 1.159 GB, free: 4.66 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.016e-06/1.059, allocations: 3.469 kB / 1.159 GB, free: 4.66 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.059, allocations: 0 / 1.159 GB, free: 4.66 MB / 0.7605 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.001114/1.06, allocations: 0.6983 MB / 1.16 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/1.06, allocations: 9.531 kB / 1.16 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/1.061, allocations: 130.5 kB / 1.16 GB, free: 4.07 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006462/1.062, allocations: 326.3 kB / 1.16 GB, free: 3.797 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/1.062, allocations: 47.83 kB / 1.16 GB, free: 3.758 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/1.062, allocations: 26.84 kB / 1.16 GB, free: 3.75 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006199/1.063, allocations: 376.5 kB / 1.161 GB, free: 3.574 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.063, allocations: 0 / 1.161 GB, free: 3.574 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/1.063, allocations: 11.22 kB / 1.161 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/1.063, allocations: 6.562 kB / 1.161 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/1.063, allocations: 268.3 kB / 1.161 GB, free: 3.48 MB / 0.7605 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.001898/1.065, allocations: 1.507 MB / 1.163 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/1.066, allocations: 196.8 kB / 1.163 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/1.066, allocations: 118.7 kB / 1.163 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/1.067, allocations: 0.5005 MB / 1.163 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/1.067, allocations: 34.56 kB / 1.163 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/1.067, allocations: 0 / 1.163 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0009039/1.068, allocations: 361.5 kB / 1.164 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/1.068, allocations: 51.41 kB / 1.164 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/1.068, allocations: 312.1 kB / 1.164 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/1.068, allocations: 29.7 kB / 1.164 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/1.068, allocations: 189.9 kB / 1.164 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/1.068, allocations: 50.31 kB / 1.164 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.434e-05/1.069, allocations: 42.56 kB / 1.164 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.069, allocations: 344.2 kB / 1.165 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/1.069, allocations: 81.48 kB / 1.165 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/1.069, allocations: 148.5 kB / 1.165 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/1.07, allocations: 235.3 kB / 1.165 GB, free: 500 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/1.07, allocations: 3.938 kB / 1.165 GB, free: 496 kB / 0.7605 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005575/1.07, allocations: 288.4 kB / 1.165 GB, free: 376 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.07, allocations: 10.47 kB / 1.165 GB, free: 372 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.07, allocations: 0 / 1.165 GB, free: 372 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.07, allocations: 4.781 kB / 1.165 GB, free: 372 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/1.07, allocations: 47.12 kB / 1.165 GB, free: 364 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.07, allocations: 3.312 kB / 1.166 GB, free: 364 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/1.071, allocations: 43.8 kB / 1.166 GB, free: 340 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/1.071, allocations: 13.19 kB / 1.166 GB, free: 336 kB / 0.7605 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001655/1.071, allocations: 151.8 kB / 1.166 GB, free: 196 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.607e-05/1.071, allocations: 27.75 kB / 1.166 GB, free: 184 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006934/1.072, allocations: 318.8 kB / 1.166 GB, free: 56 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.072, allocations: 3.594 kB / 1.166 GB, free: 56 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.072, allocations: 2.25 kB / 1.166 GB, free: 56 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.072, allocations: 0 / 1.166 GB, free: 56 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/1.073, allocations: 0.8049 MB / 1.167 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.073, allocations: 0.625 kB / 1.167 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/1.073, allocations: 39.19 kB / 1.167 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.073, allocations: 3.312 kB / 1.167 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/1.073, allocations: 11.19 kB / 1.167 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/1.073, allocations: 11.19 kB / 1.167 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.073, allocations: 0 / 1.167 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/1.075, allocations: 1.113 MB / 1.168 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/1.075, allocations: 135.2 kB / 1.168 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/1.075, allocations: 8 kB / 1.168 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/1.075, allocations: 23.92 kB / 1.168 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/1.075, allocations: 13.92 kB / 1.168 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/1.075, allocations: 14.38 kB / 1.168 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002148/1.075, allocations: 227.1 kB / 1.168 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.91e-07/1.075, allocations: 96 / 1.168 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007053/1.076, allocations: 128.6 kB / 1.168 GB, free: 14.32 MB / 0.7761 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 (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.0006097/1.077, allocations: 237 kB / 1.169 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004932/1.077, allocations: 209.8 kB / 1.169 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.077, allocations: 3.062 kB / 1.169 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/1.077, allocations: 117.1 kB / 1.169 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009164/1.078, allocations: 167.7 kB / 1.169 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/1.08, allocations: 0.8582 MB / 1.17 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/1.08, allocations: 0.7938 MB / 1.171 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002898/1.08, allocations: 84.3 kB / 1.171 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.831e-05/1.08, allocations: 25.88 kB / 1.171 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of SimCode: time 2.4e-07/1.08, allocations: 0 / 1.171 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.01257/1.093, allocations: 7.132 MB / 1.178 GB, free: 12.2 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)