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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009449/0.0009447, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007288/0.007288, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 252 MB / 0.5105 GB, free: 4.672 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005515/0.0005515, allocations: 19.98 kB / 0.6249 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5896/0.5902, allocations: 106.3 MB / 0.7287 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.211/0.8012, allocations: 165.2 MB / 0.89 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008977/0.8103, allocations: 7.166 MB / 0.897 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006444/0.811, allocations: 15.94 kB / 0.897 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.8116, allocations: 127.1 kB / 0.8971 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003375/0.815, allocations: 1.199 MB / 0.8983 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.8171, allocations: 0.5747 MB / 0.8989 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001663/0.8188, allocations: 1.08 MB / 0.8999 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000475/0.8192, allocations: 249.9 kB / 0.9002 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.8206, allocations: 0.5292 MB / 0.9007 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009785/0.8216, allocations: 430.5 kB / 0.9011 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.8216, allocations: 16 kB / 0.9011 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/0.8245, allocations: 1.469 MB / 0.9025 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.8247, allocations: 119.6 kB / 0.9027 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.8249, allocations: 192.8 kB / 0.9028 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.8265, allocations: 0.9816 MB / 0.9038 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.8265, allocations: 0 / 0.9038 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.255e-06/0.8265, allocations: 0 / 0.9038 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.8265, allocations: 4 kB / 0.9038 GB, free: 7.484 MB / 0.7169 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.001158/0.8277, allocations: 0.639 MB / 0.9044 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/0.8277, allocations: 12.03 kB / 0.9044 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.8288, allocations: 131.3 kB / 0.9046 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.8294, allocations: 341.7 kB / 0.9049 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.732e-05/0.8295, allocations: 46.27 kB / 0.9049 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.867e-05/0.8296, allocations: 31.94 kB / 0.905 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006529/0.8302, allocations: 332.8 kB / 0.9053 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.8302, allocations: 0 / 0.9053 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.8303, allocations: 16 kB / 0.9053 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.8303, allocations: 7.938 kB / 0.9053 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/0.8309, allocations: 306 kB / 0.9056 GB, free: 5.551 MB / 0.7169 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.001862/0.8328, allocations: 1.114 MB / 0.9067 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.8334, allocations: 273.2 kB / 0.9069 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.8337, allocations: 144.8 kB / 0.9071 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.8348, allocations: 0.5131 MB / 0.9076 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.8348, allocations: 42.5 kB / 0.9076 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.253e-06/0.8348, allocations: 0 / 0.9076 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.00111/0.8359, allocations: 441 kB / 0.908 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.836, allocations: 55.41 kB / 0.9081 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.8364, allocations: 300.6 kB / 0.9084 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.8364, allocations: 33.7 kB / 0.9084 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.8365, allocations: 172.3 kB / 0.9086 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/0.8366, allocations: 78.92 kB / 0.9087 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.8367, allocations: 21.72 kB / 0.9087 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.8369, allocations: 342.7 kB / 0.909 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.8371, allocations: 111.9 kB / 0.9091 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.8374, allocations: 152.9 kB / 0.9093 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.838, allocations: 256.7 kB / 0.9095 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.838, allocations: 4 kB / 0.9095 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000642/0.8386, allocations: 330.6 kB / 0.9098 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.8387, allocations: 6.031 kB / 0.9098 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.8387, allocations: 4 kB / 0.9098 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.8387, allocations: 0 / 0.9098 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.8389, allocations: 47.91 kB / 0.9099 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.839, allocations: 7.938 kB / 0.9099 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.8392, allocations: 39.73 kB / 0.9099 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.8393, allocations: 12 kB / 0.9099 GB, free: 0.8398 MB / 0.7169 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.0001707/0.8395, allocations: 153.7 kB / 0.9101 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.8396, allocations: 35.64 kB / 0.9101 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008172/0.8404, allocations: 388.4 kB / 0.9105 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.8404, allocations: 4 kB / 0.9105 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8404, allocations: 0 / 0.9105 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.8404, allocations: 3.938 kB / 0.9105 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6544/1.495, allocations: 0.8829 MB / 0.9114 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/1.495, allocations: 3.109 kB / 0.9114 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/1.495, allocations: 50.48 kB / 0.9114 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/1.495, allocations: 6.969 kB / 0.9114 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/1.495, allocations: 8.812 kB / 0.9114 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/1.495, allocations: 3.125 kB / 0.9114 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.495, allocations: 7.391 kB / 0.9114 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/1.496, allocations: 0.6217 MB / 0.912 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/1.497, allocations: 138.4 kB / 0.9122 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/1.497, allocations: 6.828 kB / 0.9122 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/1.497, allocations: 34.14 kB / 0.9122 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/1.497, allocations: 23.27 kB / 0.9122 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/1.497, allocations: 10.86 kB / 0.9122 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003012/1.497, allocations: 220.6 kB / 0.9125 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/1.497, allocations: 0 / 0.9125 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001058/1.499, allocations: 124.5 kB / 0.9126 GB, free: 11.39 MB / 0.7169 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.0008056/1.499, allocations: 235.5 kB / 0.9128 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008068/1.5, allocations: 275.8 kB / 0.9131 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.5, allocations: 0.8125 kB / 0.9131 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003885/1.501, allocations: 149.4 kB / 0.9132 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/1.502, allocations: 153.9 kB / 0.9133 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/1.503, allocations: 0.8944 MB / 0.9142 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/1.504, allocations: 0.7883 MB / 0.915 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003628/1.504, allocations: 93.59 kB / 0.9151 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/1.504, allocations: 34.52 kB / 0.9151 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/1.504, allocations: 0 / 0.9151 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of Templates: time 0.017/1.521, allocations: 7.218 MB / 0.9222 GB, free: 9.629 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: