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.526/1.526, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001204/0.001204, allocations: 173.8 kB / 326.5 MB, free: 2.281 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.945/1.945, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0008992/0.0008992, allocations: 101.7 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 9.594 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2307, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1653/0.396, allocations: 141.9 MB / 1.039 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007427/0.4035, allocations: 5.332 MB / 1.044 GB, free: 12.28 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005379/0.4041, allocations: 7.938 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007588/0.4049, allocations: 191.1 kB / 1.044 GB, free: 12.08 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.4071, allocations: 0.7244 MB / 1.045 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.4087, allocations: 0.5368 MB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006968/0.4094, allocations: 468 kB / 1.046 GB, free: 10.36 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.4099, allocations: 245.1 kB / 1.046 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.4111, allocations: 0.4908 MB / 1.047 GB, free: 9.629 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007137/0.4118, allocations: 343 kB / 1.047 GB, free: 9.293 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.975e-05/0.4119, allocations: 16 kB / 1.047 GB, free: 9.277 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.4132, allocations: 0.5538 MB / 1.047 GB, free: 8.723 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.4134, allocations: 107.7 kB / 1.048 GB, free: 8.617 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.4135, allocations: 89.52 kB / 1.048 GB, free: 8.523 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006841/0.4142, allocations: 471.2 kB / 1.048 GB, free: 8.062 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.4142, allocations: 0 / 1.048 GB, free: 8.062 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.156e-06/0.4142, allocations: 0 / 1.048 GB, free: 8.062 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.4142, allocations: 0 / 1.048 GB, free: 8.062 MB / 0.698 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.001046/0.4153, allocations: 0.6351 MB / 1.049 GB, free: 7.379 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4153, allocations: 12.03 kB / 1.049 GB, free: 7.367 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.273e-05/0.4154, allocations: 58.55 kB / 1.049 GB, free: 7.301 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009895/0.4164, allocations: 139.4 kB / 1.049 GB, free: 7.164 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.4169, allocations: 321.9 kB / 1.049 GB, free: 6.812 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.65e-05/0.417, allocations: 46.27 kB / 1.049 GB, free: 6.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/0.4171, allocations: 32 kB / 1.049 GB, free: 6.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.4177, allocations: 328.8 kB / 1.05 GB, free: 6.402 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4177, allocations: 0 / 1.05 GB, free: 6.402 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.4178, allocations: 11.95 kB / 1.05 GB, free: 6.391 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.4178, allocations: 8 kB / 1.05 GB, free: 6.383 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006023/0.4184, allocations: 302 kB / 1.05 GB, free: 6.086 MB / 0.698 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.001933/0.4203, allocations: 1.098 MB / 1.051 GB, free: 4.902 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.4209, allocations: 230.5 kB / 1.051 GB, free: 4.668 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004767/0.4214, allocations: 145.4 kB / 1.051 GB, free: 4.508 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.4214, allocations: 38.56 kB / 1.051 GB, free: 4.461 MB / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 2.354e-06/0.4214, allocations: 0 / 1.051 GB, free: 4.461 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.00113/0.4225, allocations: 451.8 kB / 1.052 GB, free: 4.016 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.4226, allocations: 55.41 kB / 1.052 GB, free: 3.949 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.423, allocations: 308.5 kB / 1.052 GB, free: 3.641 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.4231, allocations: 33.64 kB / 1.052 GB, free: 3.602 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.4232, allocations: 168.4 kB / 1.052 GB, free: 3.434 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/0.4233, allocations: 70.98 kB / 1.052 GB, free: 3.363 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.4234, allocations: 4 kB / 1.052 GB, free: 3.359 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4235, allocations: 338.8 kB / 1.053 GB, free: 3.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.4238, allocations: 119.9 kB / 1.053 GB, free: 2.902 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.4241, allocations: 156.2 kB / 1.053 GB, free: 2.734 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.4243, allocations: 132.4 kB / 1.053 GB, free: 2.605 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4244, allocations: 0 / 1.053 GB, free: 2.605 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006745/0.425, allocations: 331.1 kB / 1.053 GB, free: 2.277 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.4251, allocations: 11.95 kB / 1.053 GB, free: 2.266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.4251, allocations: 12.09 kB / 1.053 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.4251, allocations: 7.984 kB / 1.053 GB, free: 2.246 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.4254, allocations: 47.91 kB / 1.054 GB, free: 2.199 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4254, allocations: 4 kB / 1.054 GB, free: 2.195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.4257, allocations: 39.67 kB / 1.054 GB, free: 2.156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.4257, allocations: 16 kB / 1.054 GB, free: 2.141 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.000187/0.4259, allocations: 153.8 kB / 1.054 GB, free: 1.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.426, allocations: 35.62 kB / 1.054 GB, free: 1.945 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008918/0.4269, allocations: 376.4 kB / 1.054 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4269, allocations: 4 kB / 1.054 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4269, allocations: 0 / 1.054 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.427, allocations: 0 / 1.054 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.4285, allocations: 0.8979 MB / 1.055 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4285, allocations: 224 / 1.055 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.4287, allocations: 59.91 kB / 1.055 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4287, allocations: 3.938 kB / 1.055 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.4288, allocations: 12 kB / 1.055 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4288, allocations: 0 / 1.055 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.4288, allocations: 7.938 kB / 1.055 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4943/0.9231, allocations: 0.7023 MB / 1.056 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.9234, allocations: 132.1 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.379e-05/0.9234, allocations: 11.53 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.9238, allocations: 30.2 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.9239, allocations: 23.89 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.9239, allocations: 13.55 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002358/0.9242, allocations: 220.6 kB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9242, allocations: 0 / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008069/0.925, allocations: 125 kB / 1.056 GB, free: 156.2 MB / 0.698 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.001727/0.9267, allocations: 1.833 MB / 1.058 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005732/0.9273, allocations: 274.5 kB / 1.058 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9273, allocations: 3.469 kB / 1.058 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.9276, allocations: 152.9 kB / 1.058 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007753/0.9284, allocations: 156.3 kB / 1.059 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.9302, allocations: 1.788 MB / 1.06 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.9304, allocations: 0.8009 MB / 1.061 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003645/0.9308, allocations: 93.64 kB / 1.061 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.931, allocations: 103.8 kB / 1.061 GB, free: 152.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.332e-06/0.931, allocations: 4 kB / 1.061 GB, free: 152.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.9597, allocations: 10.09 MB / 1.071 GB, free: 150.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.9599, allocations: 230.9 kB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/3.252, allocations: 0 / 1.071 GB, free: 150.6 MB / 0.698 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)