Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001192/0.001192, allocations: 106.5 kB / 16.37 MB, free: 6.477 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.001266/0.001266, allocations: 189.8 kB / 17.31 MB, free: 5.824 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.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.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.001407/0.001407, allocations: 68.12 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2332, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6809/0.9142, allocations: 169.4 MB / 0.9503 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008768/0.9231, allocations: 7.132 MB / 0.9572 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005839/0.9237, allocations: 23.81 kB / 0.9572 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007342/0.9245, allocations: 170.7 kB / 0.9574 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004073/0.9286, allocations: 1.256 MB / 0.9586 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.9304, allocations: 0.6334 MB / 0.9592 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0009724/0.9314, allocations: 0.7622 MB / 0.96 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004562/0.9319, allocations: 290.7 kB / 0.9603 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.933, allocations: 0.576 MB / 0.9608 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008115/0.9338, allocations: 414.5 kB / 0.9612 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.9338, allocations: 24 kB / 0.9613 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.9357, allocations: 1.247 MB / 0.9625 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.9359, allocations: 111.7 kB / 0.9626 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.9361, allocations: 183.1 kB / 0.9628 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.9373, allocations: 0.9077 MB / 0.9636 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9373, allocations: 0 / 0.9636 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9373, allocations: 0 / 0.9636 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.9373, allocations: 0 / 0.9636 GB, free: 2.859 MB / 0.7481 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.0009756/0.9383, allocations: 0.6885 MB / 0.9643 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.9383, allocations: 12.03 kB / 0.9643 GB, free: 2.113 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009834/0.9393, allocations: 127.4 kB / 0.9644 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.9398, allocations: 353 kB / 0.9648 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.9399, allocations: 50.27 kB / 0.9648 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.94, allocations: 24 kB / 0.9649 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006279/0.9406, allocations: 370.1 kB / 0.9652 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.9406, allocations: 0 / 0.9652 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.9407, allocations: 16 kB / 0.9652 GB, free: 1.129 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.9407, allocations: 8 kB / 0.9652 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/0.9412, allocations: 275.8 kB / 0.9655 GB, free: 0.8516 MB / 0.7481 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.001914/0.9431, allocations: 1.499 MB / 0.967 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.9435, allocations: 186.6 kB / 0.9671 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.9438, allocations: 121.3 kB / 0.9672 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009369/0.9447, allocations: 0.5053 MB / 0.9677 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.9447, allocations: 30.56 kB / 0.9678 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.9448, allocations: 0 / 0.9678 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.0009349/0.9457, allocations: 362.1 kB / 0.9681 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.9458, allocations: 55.41 kB / 0.9682 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.9461, allocations: 316.5 kB / 0.9685 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.9461, allocations: 25.7 kB / 0.9685 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.9463, allocations: 192 kB / 0.9687 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.9463, allocations: 39.36 kB / 0.9687 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/0.9464, allocations: 49.64 kB / 0.9688 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.9466, allocations: 342.8 kB / 0.9691 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.9468, allocations: 87.25 kB / 0.9692 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.947, allocations: 149.9 kB / 0.9693 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.9475, allocations: 241.7 kB / 0.9695 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9475, allocations: 0 / 0.9695 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000563/0.948, allocations: 286.4 kB / 0.9698 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.9481, allocations: 7.406 kB / 0.9698 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.9481, allocations: 4 kB / 0.9698 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.9481, allocations: 0 / 0.9698 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.9483, allocations: 43.91 kB / 0.9699 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.9484, allocations: 4 kB / 0.9699 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.9485, allocations: 31.67 kB / 0.9699 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.9486, allocations: 12 kB / 0.9699 GB, free: 11.98 MB / 0.7637 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.0001485/0.9487, allocations: 161.8 kB / 0.9701 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.9489, allocations: 31.62 kB / 0.9701 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006897/0.9496, allocations: 305 kB / 0.9704 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.9496, allocations: 4 kB / 0.9704 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9496, allocations: 0 / 0.9704 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.9496, allocations: 0 / 0.9704 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.9509, allocations: 0.8099 MB / 0.9712 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.9509, allocations: 4.031 kB / 0.9712 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.9511, allocations: 39.92 kB / 0.9712 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.9511, allocations: 3.984 kB / 0.9712 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.9511, allocations: 8.812 kB / 0.9712 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.9511, allocations: 4 kB / 0.9712 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.9512, allocations: 4 kB / 0.9712 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/0.9518, allocations: 398 kB / 0.9716 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.9519, allocations: 132.7 kB / 0.9718 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.952, allocations: 15.92 kB / 0.9718 GB, free: 9.938 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.9522, allocations: 16.55 kB / 0.9718 GB, free: 9.922 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.9523, allocations: 18.23 kB / 0.9718 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.9523, allocations: 12 kB / 0.9718 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002269/0.9526, allocations: 227 kB / 0.972 GB, free: 9.672 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9526, allocations: 3.938 kB / 0.972 GB, free: 9.668 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004876/0.9531, allocations: 123.8 kB / 0.9722 GB, free: 9.547 MB / 0.7637 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.0005664/0.9536, allocations: 230.3 kB / 0.9724 GB, free: 9.324 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005096/0.9542, allocations: 219.6 kB / 0.9726 GB, free: 9.109 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9542, allocations: 0 / 0.9726 GB, free: 9.109 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.9544, allocations: 128.3 kB / 0.9727 GB, free: 8.984 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008638/0.9553, allocations: 153.6 kB / 0.9729 GB, free: 8.852 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.9564, allocations: 0.6363 MB / 0.9735 GB, free: 8.168 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.9569, allocations: 0.7873 MB / 0.9742 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-05/0.957, allocations: 27.44 kB / 0.9743 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of SimCode: time 2.51e-07/0.957, allocations: 0 / 0.9743 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of Templates: time 0.009395/0.9664, allocations: 6.246 MB / 0.9804 GB, free: 1.207 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)