Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001305/0.001305, 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.00169/0.00169, allocations: 193.5 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.97/2.97, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 65.39 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3517, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1769/0.5287, allocations: 167.2 MB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008674/0.5374, allocations: 7.198 MB / 1.238 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004548/0.5379, allocations: 11.94 kB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.5385, allocations: 127.1 kB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.5415, allocations: 1.195 MB / 1.239 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.5431, allocations: 0.5755 MB / 1.24 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001146/0.5442, allocations: 1.057 MB / 1.241 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004579/0.5447, allocations: 250.1 kB / 1.241 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.5459, allocations: 0.5253 MB / 1.241 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009083/0.5469, allocations: 438.4 kB / 1.242 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.829e-05/0.547, allocations: 16 kB / 1.242 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.5494, allocations: 1.473 MB / 1.243 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.5496, allocations: 103.7 kB / 1.243 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.5498, allocations: 171.1 kB / 1.244 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.5515, allocations: 0.9816 MB / 1.245 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5515, allocations: 0 / 1.245 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5515, allocations: 0 / 1.245 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.5515, allocations: 0 / 1.245 GB, free: 4.953 MB / 0.9981 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.001091/0.5526, allocations: 0.6989 MB / 1.245 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.5527, allocations: 12.03 kB / 1.245 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.5537, allocations: 123.4 kB / 1.245 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.5542, allocations: 325.1 kB / 1.246 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.5543, allocations: 54.2 kB / 1.246 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.5543, allocations: 28 kB / 1.246 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.555, allocations: 366.1 kB / 1.246 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.555, allocations: 0 / 1.246 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.5551, allocations: 12 kB / 1.246 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.5551, allocations: 4 kB / 1.246 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.5556, allocations: 278 kB / 1.246 GB, free: 2.961 MB / 0.9981 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.001945/0.5576, allocations: 1.492 MB / 1.248 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.558, allocations: 202.5 kB / 1.248 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.5582, allocations: 124.8 kB / 1.248 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.5593, allocations: 0.5014 MB / 1.249 GB, free: 424 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.5594, allocations: 34.55 kB / 1.249 GB, free: 380 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.5594, allocations: 0 / 1.249 GB, free: 380 kB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.001031/0.5604, allocations: 359.2 kB / 1.249 GB, free: 16 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.6579/1.218, allocations: 51.41 kB / 1.249 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/1.219, allocations: 313.4 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/1.219, allocations: 30.97 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/1.219, allocations: 186.2 kB / 1.25 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/1.219, allocations: 52.92 kB / 1.25 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/1.219, allocations: 40.38 kB / 1.25 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.429e-05/1.219, allocations: 341.9 kB / 1.25 GB, free: 187 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/1.22, allocations: 85.06 kB / 1.25 GB, free: 187 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/1.22, allocations: 150.2 kB / 1.25 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/1.22, allocations: 236.1 kB / 1.25 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.22, allocations: 1.781 kB / 1.25 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007746/1.221, allocations: 294.7 kB / 1.251 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/1.221, allocations: 6.297 kB / 1.251 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.221, allocations: 1.656 kB / 1.251 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/1.221, allocations: 3.156 kB / 1.251 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/1.222, allocations: 45.41 kB / 1.251 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.222, allocations: 3.188 kB / 1.251 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/1.222, allocations: 34.91 kB / 1.251 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/1.222, allocations: 17.23 kB / 1.251 GB, free: 186.8 MB / 0.9981 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.0001603/1.222, allocations: 147.7 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/1.222, allocations: 26.58 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008096/1.223, allocations: 321.9 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.223, allocations: 3.203 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.223, allocations: 1.062 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.223, allocations: 1.266 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/1.224, allocations: 0.8064 MB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.224, allocations: 3.047 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/1.225, allocations: 32.86 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/1.225, allocations: 7.031 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/1.225, allocations: 7.219 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/1.225, allocations: 9.078 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.225, allocations: 6.188 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/1.225, allocations: 401.3 kB / 1.253 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/1.226, allocations: 137.8 kB / 1.253 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/1.226, allocations: 6.922 kB / 1.253 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/1.226, allocations: 21.27 kB / 1.253 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/1.226, allocations: 16.69 kB / 1.253 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/1.226, allocations: 15.94 kB / 1.253 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002286/1.226, allocations: 226.6 kB / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.092e-06/1.226, allocations: 0.8125 kB / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005961/1.227, allocations: 126.5 kB / 1.253 GB, free: 185.8 MB / 0.9981 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.0006235/1.227, allocations: 232 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005684/1.228, allocations: 215.2 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.228, allocations: 0.625 kB / 1.253 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/1.228, allocations: 118.1 kB / 1.254 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009636/1.229, allocations: 158.6 kB / 1.254 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/1.23, allocations: 0.6874 MB / 1.254 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/1.231, allocations: 0.7971 MB / 1.255 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003048/1.231, allocations: 79.19 kB / 1.255 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.956e-05/1.231, allocations: 32.81 kB / 1.255 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.231, allocations: 1 kB / 1.255 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.01389/1.245, allocations: 7.006 MB / 1.262 GB, free: 184.2 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)