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.001026/0.001026, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001749/0.001749, allocations: 194.3 kB / 16.14 MB, free: 6.711 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.432/1.432, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.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.803/1.803, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001396/0.001396, allocations: 62 kB / 0.6708 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3243, allocations: 114.6 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7523/1.077, allocations: 167.2 MB / 0.9459 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008388/1.085, allocations: 7.203 MB / 0.953 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/1.086, allocations: 11.94 kB / 0.953 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00091/1.087, allocations: 133.7 kB / 0.9531 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005984/1.093, allocations: 1.191 MB / 0.9543 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/1.096, allocations: 0.5806 MB / 0.9548 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001919/1.098, allocations: 1.05 MB / 0.9559 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/1.098, allocations: 248.9 kB / 0.9561 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/1.1, allocations: 0.5288 MB / 0.9566 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/1.101, allocations: 421.2 kB / 0.957 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/1.101, allocations: 19.27 kB / 0.957 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004729/1.106, allocations: 1.473 MB / 0.9585 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002189/1.106, allocations: 112 kB / 0.9586 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003565/1.107, allocations: 168 kB / 0.9588 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002823/1.11, allocations: 0.9822 MB / 0.9597 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/1.11, allocations: 5.156 kB / 0.9597 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.783e-06/1.11, allocations: 0 / 0.9597 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.296e-06/1.11, allocations: 0 / 0.9597 GB, free: 5.277 MB / 0.7325 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.001783/1.111, allocations: 0.6898 MB / 0.9604 GB, free: 20.78 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.111, allocations: 8.406 kB / 0.9604 GB, free: 20.78 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/1.113, allocations: 133.1 kB / 0.9605 GB, free: 20.76 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/1.113, allocations: 330.9 kB / 0.9608 GB, free: 20.52 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.563e-05/1.113, allocations: 54.67 kB / 0.9609 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/1.113, allocations: 28.55 kB / 0.9609 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007392/1.114, allocations: 364.9 kB / 0.9613 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/1.114, allocations: 0 / 0.9613 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/1.114, allocations: 10.75 kB / 0.9613 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/1.114, allocations: 10.94 kB / 0.9613 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000549/1.115, allocations: 272.4 kB / 0.9615 GB, free: 20.4 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.002098/1.117, allocations: 1.494 MB / 0.963 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/1.117, allocations: 197.1 kB / 0.9632 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/1.117, allocations: 117.4 kB / 0.9633 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/1.119, allocations: 0.5031 MB / 0.9638 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/1.119, allocations: 38.72 kB / 0.9638 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/1.119, allocations: 0 / 0.9638 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.001014/1.12, allocations: 351.6 kB / 0.9642 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/1.12, allocations: 57.39 kB / 0.9642 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/1.12, allocations: 316.4 kB / 0.9645 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/1.12, allocations: 26.77 kB / 0.9646 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/1.12, allocations: 196.5 kB / 0.9647 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/1.12, allocations: 49.86 kB / 0.9648 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.398e-05/1.12, allocations: 40.5 kB / 0.9648 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.121, allocations: 337.7 kB / 0.9651 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/1.121, allocations: 89.55 kB / 0.9652 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/1.121, allocations: 145.6 kB / 0.9654 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/1.121, allocations: 240.4 kB / 0.9656 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.121, allocations: 5.125 kB / 0.9656 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005853/1.122, allocations: 285.1 kB / 0.9659 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.122, allocations: 10.06 kB / 0.9659 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.122, allocations: 4.906 kB / 0.9659 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/1.122, allocations: 4.578 kB / 0.9659 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/1.122, allocations: 40.03 kB / 0.9659 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/1.122, allocations: 5.766 kB / 0.9659 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/1.123, allocations: 43.34 kB / 0.966 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/1.123, allocations: 12.31 kB / 0.966 GB, free: 17.94 MB / 0.7481 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.0001715/1.123, allocations: 154 kB / 0.9661 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/1.123, allocations: 28.06 kB / 0.9662 GB, free: 17.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006991/1.124, allocations: 313.7 kB / 0.9665 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/1.124, allocations: 5.219 kB / 0.9665 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.124, allocations: 4 kB / 0.9665 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.124, allocations: 0 / 0.9665 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/1.125, allocations: 0.8054 MB / 0.9673 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.125, allocations: 2.906 kB / 0.9673 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/1.125, allocations: 39.66 kB / 0.9673 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.125, allocations: 2.844 kB / 0.9673 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.125, allocations: 10 kB / 0.9673 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.125, allocations: 6.844 kB / 0.9673 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.125, allocations: 5.969 kB / 0.9673 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005788/1.126, allocations: 407.1 kB / 0.9677 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/1.126, allocations: 130.6 kB / 0.9678 GB, free: 17.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/1.126, allocations: 9.422 kB / 0.9678 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/1.126, allocations: 21.7 kB / 0.9679 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/1.127, allocations: 20.42 kB / 0.9679 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/1.127, allocations: 8.562 kB / 0.9679 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002529/1.127, allocations: 232.9 kB / 0.9681 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.21e-07/1.127, allocations: 0 / 0.9681 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006808/1.128, allocations: 123.3 kB / 0.9682 GB, free: 16.95 MB / 0.7481 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.0006308/1.128, allocations: 221.7 kB / 0.9684 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005077/1.129, allocations: 217.8 kB / 0.9687 GB, free: 16.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.129, allocations: 1.031 kB / 0.9687 GB, free: 16.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002505/1.129, allocations: 120.3 kB / 0.9688 GB, free: 16.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009192/1.13, allocations: 169.1 kB / 0.9689 GB, free: 16.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/1.131, allocations: 0.6952 MB / 0.9696 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/1.132, allocations: 0.7881 MB / 0.9704 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003284/1.132, allocations: 80.75 kB / 0.9705 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/1.132, allocations: 29.45 kB / 0.9705 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/1.132, allocations: 0 / 0.9705 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of Templates: time 0.01392/1.146, allocations: 7.009 MB / 0.9773 GB, free: 15.18 MB / 0.7481 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)