Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 178.8 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.4 MB / 0.5777 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007631/0.0007631, allocations: 91.92 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003733, allocations: 10.56 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2675, allocations: 106.3 MB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1829/0.4505, allocations: 154.1 MB / 1.051 GB, free: 5.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.6192/1.07, allocations: 6.689 MB / 1.057 GB, free: 4.27 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006914/1.071, allocations: 12.22 kB / 1.057 GB, free: 4.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005528/1.071, allocations: 119.9 kB / 1.057 GB, free: 4.27 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/1.074, allocations: 0.8437 MB / 1.058 GB, free: 4.262 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/1.075, allocations: 484.7 kB / 1.059 GB, free: 4.258 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001095/1.077, allocations: 0.9133 MB / 1.06 GB, free: 4.254 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003955/1.077, allocations: 235.6 kB / 1.06 GB, free: 4.238 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/1.078, allocations: 480.6 kB / 1.06 GB, free: 4.234 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008561/1.079, allocations: 406.1 kB / 1.061 GB, free: 4.234 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.074e-05/1.079, allocations: 17.03 kB / 1.061 GB, free: 4.234 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/1.081, allocations: 0.6398 MB / 1.061 GB, free: 4.223 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/1.081, allocations: 106.8 kB / 1.061 GB, free: 4.223 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004244/1.081, allocations: 90.66 kB / 1.062 GB, free: 20.19 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/1.082, allocations: 0.5301 MB / 1.062 GB, free: 20.15 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.082, allocations: 0 / 1.062 GB, free: 20.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.206e-06/1.082, allocations: 0 / 1.062 GB, free: 20.15 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.824e-06/1.083, allocations: 0 / 1.062 GB, free: 20.15 MB / 0.7136 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.001195/1.084, allocations: 0.6482 MB / 1.063 GB, free: 19.65 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/1.084, allocations: 9.094 kB / 1.063 GB, free: 19.65 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.565e-05/1.084, allocations: 62.62 kB / 1.063 GB, free: 19.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/1.085, allocations: 122.7 kB / 1.063 GB, free: 19.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/1.086, allocations: 333.8 kB / 1.063 GB, free: 19.37 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.14e-05/1.086, allocations: 58.12 kB / 1.063 GB, free: 19.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/1.086, allocations: 26.61 kB / 1.063 GB, free: 19.33 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007406/1.086, allocations: 327.8 kB / 1.064 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.086, allocations: 0 / 1.064 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/1.087, allocations: 12.03 kB / 1.064 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/1.087, allocations: 6 kB / 1.064 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/1.087, allocations: 305.7 kB / 1.064 GB, free: 19.29 MB / 0.7136 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.002093/1.089, allocations: 1.115 MB / 1.065 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/1.09, allocations: 269.8 kB / 1.065 GB, free: 18.74 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/1.09, allocations: 150.8 kB / 1.065 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/1.091, allocations: 0.5139 MB / 1.066 GB, free: 18.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/1.091, allocations: 38.05 kB / 1.066 GB, free: 18.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 2.174e-06/1.091, allocations: 4 kB / 1.066 GB, free: 18.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.001208/1.093, allocations: 442.7 kB / 1.066 GB, free: 18.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/1.093, allocations: 53.89 kB / 1.066 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/1.093, allocations: 299.2 kB / 1.067 GB, free: 18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/1.093, allocations: 31.75 kB / 1.067 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/1.093, allocations: 174 kB / 1.067 GB, free: 17.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.303e-05/1.093, allocations: 72.09 kB / 1.067 GB, free: 17.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.467e-05/1.093, allocations: 4.625 kB / 1.067 GB, free: 17.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.094, allocations: 343.7 kB / 1.067 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/1.094, allocations: 111.6 kB / 1.067 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/1.094, allocations: 150.2 kB / 1.068 GB, free: 17.47 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/1.095, allocations: 128.3 kB / 1.068 GB, free: 17.47 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.095, allocations: 0.9375 kB / 1.068 GB, free: 17.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000822/1.095, allocations: 317.2 kB / 1.068 GB, free: 17.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/1.095, allocations: 10.19 kB / 1.068 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.096, allocations: 3.141 kB / 1.068 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.096, allocations: 1.969 kB / 1.068 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/1.096, allocations: 51.3 kB / 1.068 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/1.096, allocations: 1.812 kB / 1.068 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/1.096, allocations: 41.08 kB / 1.068 GB, free: 17.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/1.096, allocations: 18.83 kB / 1.068 GB, free: 17.39 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002274/1.096, allocations: 155.3 kB / 1.068 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/1.097, allocations: 27.22 kB / 1.068 GB, free: 17.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/1.098, allocations: 384.5 kB / 1.069 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/1.098, allocations: 3.156 kB / 1.069 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.098, allocations: 0 / 1.069 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.098, allocations: 5.953 kB / 1.069 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/1.1, allocations: 0.9001 MB / 1.069 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.1, allocations: 6.438 kB / 1.069 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/1.1, allocations: 47.91 kB / 1.07 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.1, allocations: 2.406 kB / 1.07 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/1.1, allocations: 12.41 kB / 1.07 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/1.1, allocations: 9.25 kB / 1.07 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.1, allocations: 3.719 kB / 1.07 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/1.101, allocations: 0.6155 MB / 1.07 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/1.101, allocations: 140.2 kB / 1.07 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/1.102, allocations: 9.234 kB / 1.07 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/1.102, allocations: 32.09 kB / 1.07 GB, free: 16.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/1.102, allocations: 22.58 kB / 1.07 GB, free: 16.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/1.102, allocations: 11.59 kB / 1.07 GB, free: 16.49 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003005/1.102, allocations: 220.9 kB / 1.071 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/1.102, allocations: 0 / 1.071 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006783/1.103, allocations: 121.3 kB / 1.071 GB, free: 16.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senS_flow.s_out,senS.s) * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002269/1.105, allocations: 1.263 MB / 1.072 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008647/1.106, allocations: 272.6 kB / 1.072 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.106, allocations: 0.875 kB / 1.072 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003731/1.107, allocations: 154.7 kB / 1.072 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/1.108, allocations: 150.9 kB / 1.072 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/1.112, allocations: 2.079 MB / 1.075 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/1.113, allocations: 0.7885 MB / 1.075 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004542/1.113, allocations: 94.27 kB / 1.075 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/1.113, allocations: 107.3 kB / 1.075 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of SimCode: time 3.006e-06/1.113, allocations: 4 kB / 1.075 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/1.141, allocations: 10.19 MB / 1.085 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/1.141, allocations: 233.9 kB / 1.086 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.62, allocations: 3.938 kB / 1.086 GB, free: 13.11 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)