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.001188/0.001188, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001211/0.001211, allocations: 187.5 kB / 16.25 MB, free: 6.633 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 66.88 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3145, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1899/0.5044, allocations: 167.2 MB / 1.231 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009452/0.514, allocations: 7.089 MB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006824/0.5147, allocations: 11.88 kB / 1.238 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006799/0.5154, allocations: 147.1 kB / 1.238 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.5192, allocations: 1.191 MB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.521, allocations: 0.5835 MB / 1.24 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.5223, allocations: 0.7679 MB / 1.24 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005939/0.5229, allocations: 278.8 kB / 1.241 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.5244, allocations: 0.5604 MB / 1.241 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.5254, allocations: 446.5 kB / 1.242 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-05/0.5255, allocations: 28 kB / 1.242 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.5281, allocations: 1.305 MB / 1.243 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.5283, allocations: 119.6 kB / 1.243 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.5287, allocations: 179.1 kB / 1.243 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.5311, allocations: 0.9739 MB / 1.244 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5312, allocations: 0 / 1.244 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5312, allocations: 4 kB / 1.244 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.5312, allocations: 0 / 1.244 GB, free: 5.262 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.001152/0.5324, allocations: 0.6934 MB / 1.245 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5324, allocations: 8.031 kB / 1.245 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.5334, allocations: 135.4 kB / 1.245 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.5339, allocations: 325.1 kB / 1.245 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.102e-05/0.534, allocations: 50.25 kB / 1.245 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.534, allocations: 28 kB / 1.245 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006581/0.5347, allocations: 370.1 kB / 1.246 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.5347, allocations: 4 kB / 1.246 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.5348, allocations: 8 kB / 1.246 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.5348, allocations: 8 kB / 1.246 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.5353, allocations: 278 kB / 1.246 GB, free: 3.262 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.00188/0.5372, allocations: 1.496 MB / 1.248 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.5376, allocations: 192.1 kB / 1.248 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.5379, allocations: 116.8 kB / 1.248 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.539, allocations: 0.5014 MB / 1.248 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.539, allocations: 42.5 kB / 1.248 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.539, allocations: 0 / 1.248 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.000934/0.54, allocations: 357.1 kB / 1.249 GB, free: 332 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.54, allocations: 55.41 kB / 1.249 GB, free: 264 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.74/1.28, allocations: 307.5 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.419e-05/1.28, allocations: 31.45 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/1.28, allocations: 186.3 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.621e-05/1.28, allocations: 52.86 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/1.281, allocations: 41.89 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.041e-05/1.281, allocations: 341.4 kB / 1.25 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/1.281, allocations: 83.62 kB / 1.25 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/1.281, allocations: 152.2 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/1.282, allocations: 240.4 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.282, allocations: 1.531 kB / 1.25 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007224/1.282, allocations: 284.1 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.282, allocations: 5.938 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.282, allocations: 1.531 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/1.283, allocations: 3.172 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/1.283, allocations: 48.48 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/1.283, allocations: 3.203 kB / 1.25 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/1.283, allocations: 36.66 kB / 1.251 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/1.283, allocations: 12.97 kB / 1.251 GB, free: 186.7 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.0001741/1.283, allocations: 152 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/1.284, allocations: 34.56 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008158/1.284, allocations: 319.4 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.284, allocations: 2.656 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.284, allocations: 0.875 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.284, allocations: 1.172 kB / 1.251 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/1.286, allocations: 0.8052 MB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.286, allocations: 2.156 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/1.286, allocations: 36.75 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.286, allocations: 2.625 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/1.286, allocations: 10.66 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.286, allocations: 3.609 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.286, allocations: 6.031 kB / 1.252 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/1.287, allocations: 402.1 kB / 1.252 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/1.287, allocations: 136.3 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/1.287, allocations: 7.375 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/1.287, allocations: 21.92 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/1.287, allocations: 23.12 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/1.287, allocations: 10.36 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002638/1.288, allocations: 229.6 kB / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.288, allocations: 0 / 1.253 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006178/1.288, allocations: 119.5 kB / 1.253 GB, free: 185.7 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.0006901/1.289, allocations: 232 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005915/1.29, allocations: 229.7 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.351e-06/1.29, allocations: 0.9062 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/1.29, allocations: 125 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009281/1.291, allocations: 157.8 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/1.292, allocations: 0.7043 MB / 1.254 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/1.292, allocations: 0.7893 MB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003881/1.293, allocations: 82.72 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.495e-05/1.293, allocations: 30.66 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.8e-07/1.293, allocations: 0 / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.01534/1.308, allocations: 7.208 MB / 1.262 GB, free: 184 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)