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.432/1.432, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001014/0.001014, allocations: 175.6 kB / 326.5 MB, free: 2.672 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.895/1.895, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0008642/0.0008641, allocations: 91.97 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 12.06 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2323, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7015/0.9338, allocations: 167 MB / 1.06 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008827/0.9427, allocations: 7.265 MB / 1.067 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005795/0.9433, allocations: 11.91 kB / 1.067 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005935/0.9439, allocations: 132.2 kB / 1.067 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003351/0.9472, allocations: 1.19 MB / 1.068 GB, free: 1.73 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.949, allocations: 0.5803 MB / 1.069 GB, free: 1.707 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001611/0.9507, allocations: 1.078 MB / 1.07 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000475/0.9511, allocations: 246.7 kB / 1.07 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.9526, allocations: 0.531 MB / 1.071 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.9537, allocations: 434.5 kB / 1.071 GB, free: 1.66 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.9537, allocations: 17.31 kB / 1.071 GB, free: 1.66 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.9571, allocations: 1.466 MB / 1.072 GB, free: 1.648 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.9574, allocations: 110 kB / 1.073 GB, free: 1.648 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.9577, allocations: 172.3 kB / 1.073 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.9589, allocations: 0.6333 MB / 1.073 GB, free: 1.605 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9589, allocations: 4.5 kB / 1.073 GB, free: 1.602 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9589, allocations: 0.75 kB / 1.073 GB, free: 1.602 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.9589, allocations: 0 / 1.073 GB, free: 1.602 MB / 0.698 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.001306/0.9602, allocations: 0.6467 MB / 1.074 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.9603, allocations: 13.38 kB / 1.074 GB, free: 17.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.9614, allocations: 129.8 kB / 1.074 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.9619, allocations: 340.8 kB / 1.074 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.514e-05/0.962, allocations: 51.83 kB / 1.074 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.9621, allocations: 28.33 kB / 1.075 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008868/0.963, allocations: 329.1 kB / 1.075 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.963, allocations: 0.7188 kB / 1.075 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.963, allocations: 10.95 kB / 1.075 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.9631, allocations: 10.34 kB / 1.075 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008335/0.9639, allocations: 300.1 kB / 1.075 GB, free: 16.77 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.002526/0.9665, allocations: 1.112 MB / 1.076 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.9672, allocations: 277.1 kB / 1.076 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.9675, allocations: 148.3 kB / 1.077 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/0.9686, allocations: 0.5189 MB / 1.077 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.9686, allocations: 33.05 kB / 1.077 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.9687, allocations: 0 / 1.077 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.001193/0.9699, allocations: 447.4 kB / 1.078 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.9699, allocations: 53.84 kB / 1.078 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.9703, allocations: 301.9 kB / 1.078 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.9703, allocations: 31.64 kB / 1.078 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.9704, allocations: 175.4 kB / 1.078 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.9705, allocations: 75.75 kB / 1.078 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.9706, allocations: 24.38 kB / 1.078 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.9707, allocations: 343.2 kB / 1.079 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.971, allocations: 111.9 kB / 1.079 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.9712, allocations: 149.3 kB / 1.079 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.9717, allocations: 259.9 kB / 1.079 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9717, allocations: 0 / 1.079 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006363/0.9723, allocations: 329.2 kB / 1.079 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.9724, allocations: 9.297 kB / 1.079 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.9724, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.9724, allocations: 6.281 kB / 1.079 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.9727, allocations: 55.64 kB / 1.079 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9727, allocations: 1.156 kB / 1.079 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.9729, allocations: 41.84 kB / 1.079 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.973, allocations: 8.562 kB / 1.079 GB, free: 14.83 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.9732, allocations: 156.5 kB / 1.08 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.9733, allocations: 32.95 kB / 1.08 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008458/0.9741, allocations: 382.8 kB / 1.08 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.9742, allocations: 3.344 kB / 1.08 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9742, allocations: 0 / 1.08 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.9742, allocations: 3.938 kB / 1.08 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.9757, allocations: 0.8988 MB / 1.081 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.9757, allocations: 3.203 kB / 1.081 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.9759, allocations: 54.88 kB / 1.081 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.9759, allocations: 2.969 kB / 1.081 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.976, allocations: 8.125 kB / 1.081 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.976, allocations: 6.344 kB / 1.081 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.976, allocations: 5.344 kB / 1.081 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/0.977, allocations: 0.6179 MB / 1.082 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.9771, allocations: 145.1 kB / 1.082 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.9772, allocations: 3.594 kB / 1.082 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.9775, allocations: 26.95 kB / 1.082 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.9776, allocations: 27.58 kB / 1.082 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.9776, allocations: 13.84 kB / 1.082 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002347/0.9778, allocations: 223 kB / 1.082 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9778, allocations: 0 / 1.082 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006327/0.9785, allocations: 128.8 kB / 1.082 GB, free: 13.83 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 (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.0006219/0.9791, allocations: 231.7 kB / 1.082 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005587/0.9797, allocations: 269.1 kB / 1.083 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.9797, allocations: 4.156 kB / 1.083 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.98, allocations: 145.2 kB / 1.083 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.9808, allocations: 161.4 kB / 1.083 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.9821, allocations: 0.8889 MB / 1.084 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.9825, allocations: 0.7834 MB / 1.085 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.9826, allocations: 39.22 kB / 1.085 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/0.9826, allocations: 0 / 1.085 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of Templates: time 0.009752/0.9924, allocations: 6.483 MB / 1.091 GB, free: 11.86 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)