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.001147/0.001147, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001149/0.001149, allocations: 181.8 kB / 17.22 MB, free: 5.625 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.459/1.459, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.817/1.817, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001466/0.001466, allocations: 71.89 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2474, allocations: 114.5 MB / 0.7841 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6599/0.9074, allocations: 169.4 MB / 0.9495 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009585/0.917, allocations: 7.124 MB / 0.9565 GB, free: 10 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006631/0.9177, allocations: 11.94 kB / 0.9565 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006663/0.9185, allocations: 182.7 kB / 0.9567 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003818/0.9223, allocations: 1.264 MB / 0.9579 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.9246, allocations: 0.6265 MB / 0.9585 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.926, allocations: 0.758 MB / 0.9593 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005344/0.9265, allocations: 294.7 kB / 0.9595 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.9279, allocations: 0.5682 MB / 0.9601 GB, free: 6.305 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000854/0.9288, allocations: 418.5 kB / 0.9605 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.645e-05/0.9288, allocations: 28 kB / 0.9605 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.9316, allocations: 1.239 MB / 0.9617 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.9318, allocations: 119.7 kB / 0.9619 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.932, allocations: 175.1 kB / 0.962 GB, free: 4.336 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.9339, allocations: 0.9155 MB / 0.9629 GB, free: 3.418 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9339, allocations: 4 kB / 0.9629 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9339, allocations: 0 / 0.9629 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.934, allocations: 0 / 0.9629 GB, free: 3.414 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.001118/0.9351, allocations: 0.6923 MB / 0.9636 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.9351, allocations: 8.031 kB / 0.9636 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.9362, allocations: 131.4 kB / 0.9637 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.9366, allocations: 325.1 kB / 0.964 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.145e-05/0.9367, allocations: 54.25 kB / 0.9641 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.9368, allocations: 28 kB / 0.9641 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000667/0.9375, allocations: 372.1 kB / 0.9645 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.9375, allocations: 0 / 0.9645 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.9375, allocations: 12 kB / 0.9645 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.9375, allocations: 8 kB / 0.9645 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/0.9381, allocations: 274 kB / 0.9648 GB, free: 1.426 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.00186/0.94, allocations: 1.492 MB / 0.9662 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.9404, allocations: 202.5 kB / 0.9664 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.9406, allocations: 113.3 kB / 0.9665 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/0.9417, allocations: 0.5092 MB / 0.967 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.9417, allocations: 42.06 kB / 0.967 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.9417, allocations: 0 / 0.967 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.0009548/0.9427, allocations: 358.2 kB / 0.9674 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.9428, allocations: 55.39 kB / 0.9674 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.9431, allocations: 312.5 kB / 0.9677 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.9431, allocations: 29.7 kB / 0.9678 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.9433, allocations: 188 kB / 0.9679 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.9433, allocations: 43.36 kB / 0.968 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/0.9434, allocations: 45.7 kB / 0.968 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9435, allocations: 342.8 kB / 0.9684 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.9437, allocations: 87.92 kB / 0.9684 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.944, allocations: 145.9 kB / 0.9686 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.9444, allocations: 234.6 kB / 0.9688 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.9444, allocations: 3.938 kB / 0.9688 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005709/0.945, allocations: 293 kB / 0.9691 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.945, allocations: 4 kB / 0.9691 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.945, allocations: 0 / 0.9691 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.945, allocations: 4 kB / 0.9691 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.9453, allocations: 43.97 kB / 0.9691 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.9453, allocations: 7.938 kB / 0.9691 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.9455, allocations: 29.08 kB / 0.9692 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.9456, allocations: 20 kB / 0.9692 GB, free: 12.53 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.0001496/0.9457, allocations: 145.8 kB / 0.9693 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.9458, allocations: 31.62 kB / 0.9694 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006737/0.9465, allocations: 308.9 kB / 0.9697 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.9465, allocations: 4 kB / 0.9697 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9466, allocations: 4 kB / 0.9697 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9466, allocations: 3.984 kB / 0.9697 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.9479, allocations: 0.8043 MB / 0.9705 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.9479, allocations: 5.688 kB / 0.9705 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.9481, allocations: 35.97 kB / 0.9705 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.9481, allocations: 0 / 0.9705 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.9481, allocations: 11.94 kB / 0.9705 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.9482, allocations: 4.625 kB / 0.9705 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.9482, allocations: 3.938 kB / 0.9705 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.9488, allocations: 406.1 kB / 0.9709 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.9489, allocations: 136.7 kB / 0.971 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.949, allocations: 7.938 kB / 0.971 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.9492, allocations: 14.61 kB / 0.9711 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.9493, allocations: 15.98 kB / 0.9711 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.9493, allocations: 11.98 kB / 0.9711 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002234/0.9495, allocations: 227 kB / 0.9713 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.493e-06/0.9496, allocations: 4 kB / 0.9713 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0005356/0.9501, allocations: 119.7 kB / 0.9714 GB, free: 10.12 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.0006134/0.9507, allocations: 233 kB / 0.9716 GB, free: 9.891 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.9513, allocations: 223.1 kB / 0.9718 GB, free: 9.676 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.9513, allocations: 4.125 kB / 0.9719 GB, free: 9.672 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.9515, allocations: 115.8 kB / 0.972 GB, free: 9.559 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008143/0.9523, allocations: 168.2 kB / 0.9721 GB, free: 9.418 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.9535, allocations: 0.5952 MB / 0.9727 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.9539, allocations: 0.7873 MB / 0.9735 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002631/0.9542, allocations: 83.72 kB / 0.9736 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.821e-05/0.9543, allocations: 31.42 kB / 0.9736 GB, free: 7.855 MB / 0.7637 GB Notification: Performance of SimCode: time 9.12e-07/0.9543, allocations: 0 / 0.9736 GB, free: 7.855 MB / 0.7637 GB Notification: Performance of Templates: time 0.01367/0.9679, allocations: 7.276 MB / 0.9807 GB, free: 0.7188 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)