Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001388/0.001388, 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.00159/0.00159, allocations: 192.2 kB / 16.14 MB, free: 6.715 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.326/1.326, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 289.6 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 91.83 kB / 0.5945 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1541, allocations: 86.98 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5041/0.6582, allocations: 167.2 MB / 0.8427 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008124/0.6664, allocations: 7.208 MB / 0.8497 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006517/0.6671, allocations: 15.19 kB / 0.8498 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.6677, allocations: 137.7 kB / 0.8499 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003299/0.671, allocations: 1.182 MB / 0.851 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.6727, allocations: 0.574 MB / 0.8516 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.6737, allocations: 1.054 MB / 0.8526 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003784/0.6741, allocations: 255.7 kB / 0.8529 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.6753, allocations: 0.5213 MB / 0.8534 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007716/0.676, allocations: 422 kB / 0.8538 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.6761, allocations: 18.25 kB / 0.8538 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.6785, allocations: 1.479 MB / 0.8552 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.6787, allocations: 110.8 kB / 0.8554 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.6789, allocations: 168.6 kB / 0.8555 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.6802, allocations: 0.9838 MB / 0.8565 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6803, allocations: 0 / 0.8565 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.21e-07/0.6803, allocations: 2.938 kB / 0.8565 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.6803, allocations: 0 / 0.8565 GB, free: 9.035 MB / 0.5762 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.001014/0.6813, allocations: 0.6937 MB / 0.8572 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.6813, allocations: 9.688 kB / 0.8572 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.6824, allocations: 120.9 kB / 0.8573 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.6828, allocations: 336.4 kB / 0.8576 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-05/0.6829, allocations: 46.48 kB / 0.8576 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.683, allocations: 31.78 kB / 0.8577 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.6836, allocations: 365.3 kB / 0.858 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.6836, allocations: 0 / 0.858 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.6837, allocations: 13.28 kB / 0.858 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.6837, allocations: 4.812 kB / 0.858 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.6842, allocations: 274.9 kB / 0.8583 GB, free: 7.633 MB / 0.5762 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.001796/0.686, allocations: 1.488 MB / 0.8598 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.6864, allocations: 206.3 kB / 0.86 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.6866, allocations: 112.8 kB / 0.8601 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.6877, allocations: 0.5075 MB / 0.8606 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.6877, allocations: 36.53 kB / 0.8606 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.532e-06/0.6877, allocations: 0 / 0.8606 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009054/0.6886, allocations: 359.7 kB / 0.8609 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.6887, allocations: 54.38 kB / 0.861 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.689, allocations: 315.6 kB / 0.8613 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.689, allocations: 29.7 kB / 0.8613 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.6892, allocations: 185 kB / 0.8615 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.6892, allocations: 55.27 kB / 0.8615 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.6893, allocations: 43.14 kB / 0.8616 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6894, allocations: 342.8 kB / 0.8619 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.6896, allocations: 90.92 kB / 0.862 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.6899, allocations: 143 kB / 0.8621 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.6903, allocations: 234.9 kB / 0.8624 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6903, allocations: 6.656 kB / 0.8624 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005671/0.6909, allocations: 291.4 kB / 0.8626 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.6909, allocations: 6.75 kB / 0.8626 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6909, allocations: 2.25 kB / 0.8627 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.6909, allocations: 3 kB / 0.8627 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.6912, allocations: 41.91 kB / 0.8627 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.6912, allocations: 5.281 kB / 0.8627 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.6914, allocations: 36.02 kB / 0.8627 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.6915, allocations: 14.17 kB / 0.8627 GB, free: 3.973 MB / 0.5762 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.0001513/0.6916, allocations: 152.9 kB / 0.8629 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.6917, allocations: 30.53 kB / 0.8629 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007046/0.6925, allocations: 316.3 kB / 0.8632 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.6925, allocations: 2.906 kB / 0.8632 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6925, allocations: 2.062 kB / 0.8632 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6925, allocations: 0 / 0.8632 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.6938, allocations: 0.8056 MB / 0.864 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6938, allocations: 2.906 kB / 0.864 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.694, allocations: 37.06 kB / 0.8641 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.694, allocations: 2.625 kB / 0.8641 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.694, allocations: 12.81 kB / 0.8641 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.694, allocations: 6.75 kB / 0.8641 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.694, allocations: 2.375 kB / 0.8641 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.6946, allocations: 405.1 kB / 0.8645 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.6948, allocations: 133.6 kB / 0.8646 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.6948, allocations: 13.72 kB / 0.8646 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.6951, allocations: 24.27 kB / 0.8646 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.6951, allocations: 19.16 kB / 0.8646 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.6952, allocations: 7.75 kB / 0.8647 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002231/0.6954, allocations: 226.6 kB / 0.8649 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6954, allocations: 0 / 0.8649 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005421/0.696, allocations: 124.8 kB / 0.865 GB, free: 2.305 MB / 0.5762 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.0005742/0.6965, allocations: 236.3 kB / 0.8652 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000519/0.6971, allocations: 218.7 kB / 0.8654 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6971, allocations: 0 / 0.8654 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.6973, allocations: 119.2 kB / 0.8655 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008516/0.6982, allocations: 153.2 kB / 0.8657 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.6992, allocations: 0.6932 MB / 0.8664 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.6996, allocations: 0.7868 MB / 0.8671 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002887/0.6999, allocations: 89.84 kB / 0.8672 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.281e-05/0.7, allocations: 35.55 kB / 0.8672 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.7, allocations: 0 / 0.8672 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of Templates: time 0.01266/0.7126, allocations: 7.007 MB / 0.8741 GB, free: 13.11 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)