Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.836/1.836, allocations: 288.4 MB / 303.3 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 194 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009994/0.0009993, allocations: 92.89 kB / 0.744 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004905, allocations: 12.59 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2841, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.877/1.161, allocations: 154 MB / 1.13 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008451/1.17, allocations: 6.63 MB / 1.136 GB, free: 15.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006634/1.17, allocations: 10.16 kB / 1.136 GB, free: 15.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006032/1.171, allocations: 119.9 kB / 1.137 GB, free: 15.72 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002996/1.174, allocations: 0.8417 MB / 1.137 GB, free: 15.36 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/1.176, allocations: 487.7 kB / 1.138 GB, free: 15.24 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001005/1.177, allocations: 0.8919 MB / 1.139 GB, free: 15.1 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/1.177, allocations: 228.2 kB / 1.139 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/1.178, allocations: 474.7 kB / 1.139 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007187/1.179, allocations: 397.2 kB / 1.14 GB, free: 14.84 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/1.179, allocations: 15.09 kB / 1.14 GB, free: 14.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/1.18, allocations: 0.6341 MB / 1.14 GB, free: 14.74 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/1.181, allocations: 105.3 kB / 1.141 GB, free: 14.73 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/1.181, allocations: 91.67 kB / 1.141 GB, free: 14.68 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000778/1.181, allocations: 0.5145 MB / 1.141 GB, free: 14.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.181, allocations: 0 / 1.141 GB, free: 14.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/1.181, allocations: 0 / 1.141 GB, free: 14.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.288e-05/1.181, allocations: 1.469 kB / 1.141 GB, free: 14.6 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.001025/1.182, allocations: 0.6361 MB / 1.142 GB, free: 14.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.183, allocations: 13.72 kB / 1.142 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.914e-05/1.183, allocations: 63.42 kB / 1.142 GB, free: 14.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/1.184, allocations: 132.8 kB / 1.142 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/1.184, allocations: 311.4 kB / 1.142 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-05/1.184, allocations: 51.11 kB / 1.142 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/1.184, allocations: 25.12 kB / 1.142 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006725/1.185, allocations: 373.3 kB / 1.143 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/1.185, allocations: 3.953 kB / 1.143 GB, free: 13.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/1.185, allocations: 12.41 kB / 1.143 GB, free: 13.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/1.185, allocations: 8.5 kB / 1.143 GB, free: 13.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000519/1.185, allocations: 287.6 kB / 1.143 GB, free: 13.51 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.001922/1.187, allocations: 1.501 MB / 1.144 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/1.188, allocations: 201.3 kB / 1.145 GB, free: 12.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/1.188, allocations: 123.8 kB / 1.145 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/1.189, allocations: 0.5155 MB / 1.145 GB, free: 11.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/1.189, allocations: 37.12 kB / 1.145 GB, free: 11.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/1.189, allocations: 0 / 1.145 GB, free: 11.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001003/1.19, allocations: 373 kB / 1.146 GB, free: 11.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/1.19, allocations: 53.22 kB / 1.146 GB, free: 11.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/1.191, allocations: 313.1 kB / 1.146 GB, free: 11.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/1.191, allocations: 27.39 kB / 1.146 GB, free: 11.31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/1.191, allocations: 189.5 kB / 1.146 GB, free: 11.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/1.191, allocations: 52.2 kB / 1.146 GB, free: 11.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/1.191, allocations: 3.062 kB / 1.146 GB, free: 11.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001854/1.191, allocations: 345.4 kB / 1.147 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/1.191, allocations: 91.23 kB / 1.147 GB, free: 10.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/1.192, allocations: 154.3 kB / 1.147 GB, free: 10.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/1.192, allocations: 104.9 kB / 1.147 GB, free: 10.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.192, allocations: 1.344 kB / 1.147 GB, free: 10.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005965/1.193, allocations: 293.6 kB / 1.147 GB, free: 10.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.193, allocations: 9.094 kB / 1.147 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.193, allocations: 192 / 1.147 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.193, allocations: 6.75 kB / 1.147 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/1.193, allocations: 45.28 kB / 1.147 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/1.193, allocations: 6.656 kB / 1.147 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/1.193, allocations: 49.05 kB / 1.147 GB, free: 10.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/1.193, allocations: 7.406 kB / 1.147 GB, free: 10.56 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001986/1.193, allocations: 154.7 kB / 1.147 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/1.194, allocations: 29.09 kB / 1.147 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008114/1.194, allocations: 331 kB / 1.148 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/1.194, allocations: 1.312 kB / 1.148 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.194, allocations: 1.062 kB / 1.148 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/1.194, allocations: 0 / 1.148 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/1.196, allocations: 0.8194 MB / 1.149 GB, free: 9.785 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.196, allocations: 3.281 kB / 1.149 GB, free: 9.785 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/1.196, allocations: 40.22 kB / 1.149 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/1.196, allocations: 7.391 kB / 1.149 GB, free: 9.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/1.196, allocations: 6.859 kB / 1.149 GB, free: 9.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/1.196, allocations: 7.656 kB / 1.149 GB, free: 9.766 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.196, allocations: 5.328 kB / 1.149 GB, free: 9.762 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/1.197, allocations: 406.8 kB / 1.149 GB, free: 9.516 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/1.197, allocations: 139.7 kB / 1.149 GB, free: 9.387 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/1.197, allocations: 9.922 kB / 1.149 GB, free: 9.383 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/1.197, allocations: 24.05 kB / 1.149 GB, free: 9.379 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/1.197, allocations: 15.89 kB / 1.149 GB, free: 9.375 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/1.197, allocations: 15.11 kB / 1.149 GB, free: 9.367 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002527/1.198, allocations: 224.5 kB / 1.149 GB, free: 9.262 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.198, allocations: 3.938 kB / 1.149 GB, free: 9.258 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005918/1.198, allocations: 115.7 kB / 1.15 GB, free: 9.242 MB / 0.698 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 (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.001585/1.2, allocations: 1.063 MB / 1.151 GB, free: 8.398 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006118/1.201, allocations: 219.7 kB / 1.151 GB, free: 8.355 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.201, allocations: 1.562 kB / 1.151 GB, free: 8.355 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002854/1.201, allocations: 126.5 kB / 1.151 GB, free: 8.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009799/1.202, allocations: 159.5 kB / 1.151 GB, free: 8.273 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/1.206, allocations: 1.842 MB / 1.153 GB, free: 7.305 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/1.206, allocations: 0.7876 MB / 1.154 GB, free: 6.566 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003794/1.207, allocations: 88.88 kB / 1.154 GB, free: 6.527 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/1.207, allocations: 102.4 kB / 1.154 GB, free: 6.508 MB / 0.698 GB Notification: Performance of SimCode: time 9.01e-07/1.207, allocations: 0 / 1.154 GB, free: 6.508 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/1.234, allocations: 9.841 MB / 1.163 GB, free: 1.711 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/1.234, allocations: 239.6 kB / 1.164 GB, free: 1.465 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/3.504, allocations: 0 / 1.164 GB, free: 1.465 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)