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.001075/0.001075, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.00116, allocations: 186.8 kB / 16.62 MB, free: 6.582 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.539/1.539, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.814/1.814, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.001577/0.001577, allocations: 77.64 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2975, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7525/1.05, allocations: 169.4 MB / 0.9496 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009595/1.06, allocations: 7.134 MB / 0.9565 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007339/1.06, allocations: 12.81 kB / 0.9566 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006767/1.061, allocations: 167.1 kB / 0.9567 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004121/1.065, allocations: 1.263 MB / 0.958 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/1.067, allocations: 0.6335 MB / 0.9586 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001059/1.069, allocations: 0.759 MB / 0.9593 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004913/1.069, allocations: 293.1 kB / 0.9596 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/1.07, allocations: 0.5701 MB / 0.9601 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009367/1.071, allocations: 421.8 kB / 0.9605 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.886e-05/1.071, allocations: 26.06 kB / 0.9606 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/1.074, allocations: 1.245 MB / 0.9618 GB, free: 412 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/1.074, allocations: 118.8 kB / 0.9619 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002518/1.075, allocations: 176.4 kB / 0.9621 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/1.076, allocations: 0.9098 MB / 0.963 GB, free: 344 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.076, allocations: 0 / 0.963 GB, free: 344 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.344e-06/1.076, allocations: 1.469 kB / 0.963 GB, free: 344 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.076, allocations: 0 / 0.963 GB, free: 344 kB / 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.001186/1.078, allocations: 0.6912 MB / 0.9636 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.078, allocations: 14.31 kB / 0.9636 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/1.079, allocations: 127.6 kB / 0.9638 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006427/1.079, allocations: 346.5 kB / 0.9641 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/1.079, allocations: 54.77 kB / 0.9642 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/1.079, allocations: 24.34 kB / 0.9642 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007752/1.08, allocations: 367.5 kB / 0.9645 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/1.08, allocations: 5.125 kB / 0.9645 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/1.08, allocations: 9.094 kB / 0.9645 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/1.08, allocations: 6.656 kB / 0.9645 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/1.081, allocations: 273.6 kB / 0.9648 GB, free: 15.44 MB / 0.7325 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.002425/1.083, allocations: 1.495 MB / 0.9663 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/1.084, allocations: 200 kB / 0.9665 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/1.084, allocations: 120 kB / 0.9666 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/1.085, allocations: 0.5034 MB / 0.9671 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/1.085, allocations: 35.38 kB / 0.9671 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/1.085, allocations: 0 / 0.9671 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.001021/1.086, allocations: 354.3 kB / 0.9674 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/1.086, allocations: 58.53 kB / 0.9675 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/1.087, allocations: 315.2 kB / 0.9678 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/1.087, allocations: 32.64 kB / 0.9678 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/1.087, allocations: 184.1 kB / 0.968 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/1.087, allocations: 49.88 kB / 0.968 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/1.087, allocations: 41.59 kB / 0.9681 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.087, allocations: 345.3 kB / 0.9684 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/1.088, allocations: 87.11 kB / 0.9685 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/1.088, allocations: 144.8 kB / 0.9686 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/1.088, allocations: 239 kB / 0.9689 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/1.088, allocations: 5.344 kB / 0.9689 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006147/1.089, allocations: 283.1 kB / 0.9691 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.089, allocations: 8.422 kB / 0.9691 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.089, allocations: 1.125 kB / 0.9691 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.089, allocations: 3.594 kB / 0.9692 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/1.089, allocations: 45.12 kB / 0.9692 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.089, allocations: 1.969 kB / 0.9692 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/1.089, allocations: 32.5 kB / 0.9692 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/1.089, allocations: 15.84 kB / 0.9692 GB, free: 12.93 MB / 0.7325 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.0001732/1.09, allocations: 153.4 kB / 0.9694 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/1.09, allocations: 27.34 kB / 0.9694 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007599/1.091, allocations: 313.9 kB / 0.9697 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/1.091, allocations: 1.25 kB / 0.9697 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.091, allocations: 2.312 kB / 0.9697 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.091, allocations: 6.531 kB / 0.9697 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/1.092, allocations: 0.8069 MB / 0.9705 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.092, allocations: 2.75 kB / 0.9705 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/1.092, allocations: 38.33 kB / 0.9706 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.092, allocations: 2.75 kB / 0.9706 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/1.092, allocations: 11.94 kB / 0.9706 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.092, allocations: 2.75 kB / 0.9706 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.092, allocations: 2.75 kB / 0.9706 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/1.093, allocations: 406.4 kB / 0.971 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/1.093, allocations: 131.9 kB / 0.9711 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/1.093, allocations: 11.86 kB / 0.9711 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/1.093, allocations: 16.94 kB / 0.9711 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/1.094, allocations: 12.58 kB / 0.9711 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/1.094, allocations: 10.75 kB / 0.9711 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002465/1.094, allocations: 229.9 kB / 0.9714 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.094, allocations: 0 / 0.9714 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006559/1.094, allocations: 122.9 kB / 0.9715 GB, free: 11.92 MB / 0.7325 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.0006664/1.095, allocations: 233.5 kB / 0.9717 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005338/1.096, allocations: 220.6 kB / 0.9719 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.096, allocations: 7.047 kB / 0.9719 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/1.096, allocations: 120.1 kB / 0.972 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008721/1.097, allocations: 163.5 kB / 0.9722 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/1.098, allocations: 0.5977 MB / 0.9728 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/1.098, allocations: 0.7858 MB / 0.9735 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002793/1.099, allocations: 89.69 kB / 0.9736 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/1.099, allocations: 27.88 kB / 0.9736 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/1.099, allocations: 0 / 0.9736 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.01613/1.115, allocations: 7.282 MB / 0.9808 GB, free: 7.676 MB / 0.7325 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)