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.0009689/0.0009689, allocations: 97.56 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.007622/0.007622, allocations: 169 kB / 16.26 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.509/1.509, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.784/1.784, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005859/0.0005859, allocations: 12.69 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2997, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.783/1.083, allocations: 165 MB / 0.949 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0101/1.093, allocations: 7.107 MB / 0.956 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008321/1.094, allocations: 14.44 kB / 0.956 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006995/1.094, allocations: 131.8 kB / 0.9561 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003898/1.098, allocations: 1.189 MB / 0.9573 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/1.1, allocations: 0.5768 MB / 0.9578 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001526/1.102, allocations: 1.057 MB / 0.9589 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000468/1.102, allocations: 239.9 kB / 0.9591 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/1.104, allocations: 0.5194 MB / 0.9596 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008777/1.105, allocations: 421.1 kB / 0.96 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/1.105, allocations: 15.34 kB / 0.96 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/1.108, allocations: 1.47 MB / 0.9614 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/1.108, allocations: 104.8 kB / 0.9615 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002342/1.108, allocations: 190.6 kB / 0.9617 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/1.11, allocations: 0.9751 MB / 0.9627 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.11, allocations: 1.469 kB / 0.9627 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.064e-06/1.11, allocations: 0 / 0.9627 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.11, allocations: 0 / 0.9627 GB, free: 15.14 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.001047/1.111, allocations: 0.6328 MB / 0.9633 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.111, allocations: 8.656 kB / 0.9633 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/1.112, allocations: 128.2 kB / 0.9634 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/1.112, allocations: 333.2 kB / 0.9637 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.356e-05/1.113, allocations: 47.33 kB / 0.9638 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/1.113, allocations: 29.28 kB / 0.9638 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/1.113, allocations: 378.5 kB / 0.9642 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.113, allocations: 0 / 0.9642 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/1.113, allocations: 10.44 kB / 0.9642 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/1.113, allocations: 6.219 kB / 0.9642 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005556/1.114, allocations: 288.2 kB / 0.9645 GB, free: 14.25 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.001949/1.116, allocations: 1.499 MB / 0.9659 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/1.116, allocations: 200.8 kB / 0.9661 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/1.117, allocations: 122.8 kB / 0.9662 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009992/1.118, allocations: 0.5197 MB / 0.9668 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/1.118, allocations: 37.78 kB / 0.9668 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/1.118, allocations: 1.75 kB / 0.9668 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.001006/1.119, allocations: 378.1 kB / 0.9672 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/1.119, allocations: 54.06 kB / 0.9672 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/1.119, allocations: 311.7 kB / 0.9675 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/1.119, allocations: 27.02 kB / 0.9675 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/1.119, allocations: 186.7 kB / 0.9677 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/1.119, allocations: 53.94 kB / 0.9678 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/1.119, allocations: 24.97 kB / 0.9678 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.119, allocations: 340.4 kB / 0.9681 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/1.12, allocations: 89.8 kB / 0.9682 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/1.12, allocations: 155.5 kB / 0.9683 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/1.12, allocations: 254.5 kB / 0.9686 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.12, allocations: 1.188 kB / 0.9686 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005965/1.121, allocations: 290.5 kB / 0.9689 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.121, allocations: 5.562 kB / 0.9689 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.121, allocations: 3.859 kB / 0.9689 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/1.121, allocations: 4.5 kB / 0.9689 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/1.121, allocations: 46.83 kB / 0.9689 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/1.121, allocations: 10.86 kB / 0.9689 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/1.122, allocations: 39.7 kB / 0.969 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/1.122, allocations: 12.16 kB / 0.969 GB, free: 11.75 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.0001622/1.122, allocations: 156.9 kB / 0.9691 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.122, allocations: 32.69 kB / 0.9692 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007129/1.123, allocations: 325.8 kB / 0.9695 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.123, allocations: 2.281 kB / 0.9695 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.123, allocations: 0 / 0.9695 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.123, allocations: 5.062 kB / 0.9695 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/1.124, allocations: 0.823 MB / 0.9703 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.124, allocations: 3.859 kB / 0.9703 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/1.124, allocations: 37.92 kB / 0.9703 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/1.124, allocations: 2.75 kB / 0.9703 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/1.124, allocations: 11.69 kB / 0.9703 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.124, allocations: 6.969 kB / 0.9703 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.124, allocations: 4.766 kB / 0.9703 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/1.125, allocations: 412.2 kB / 0.9707 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/1.125, allocations: 127.7 kB / 0.9709 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/1.125, allocations: 13.89 kB / 0.9709 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/1.125, allocations: 29.39 kB / 0.9709 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/1.125, allocations: 19.52 kB / 0.9709 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/1.126, allocations: 11.77 kB / 0.9709 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002487/1.126, allocations: 226.9 kB / 0.9711 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.126, allocations: 4 kB / 0.9712 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006531/1.126, allocations: 124.2 kB / 0.9713 GB, free: 10.67 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.0006036/1.127, allocations: 212.6 kB / 0.9715 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005454/1.128, allocations: 235.7 kB / 0.9717 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.128, allocations: 0 / 0.9717 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/1.128, allocations: 124.4 kB / 0.9718 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/1.129, allocations: 160.6 kB / 0.972 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/1.13, allocations: 0.726 MB / 0.9727 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/1.131, allocations: 0.7847 MB / 0.9734 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003435/1.131, allocations: 85.78 kB / 0.9735 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/1.131, allocations: 30.16 kB / 0.9736 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/1.131, allocations: 1.344 kB / 0.9736 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of Templates: time 0.01363/1.145, allocations: 6.96 MB / 0.9804 GB, free: 5.652 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: