Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.904/2.904, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.00167/0.00167, allocations: 190.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.308/2.308, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.00114/0.00114, allocations: 93.31 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005023, allocations: 13.16 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2345, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.9428/1.177, allocations: 141.8 MB / 1.117 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01117/1.189, allocations: 5.281 MB / 1.122 GB, free: 488 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008228/1.19, allocations: 11.44 kB / 1.122 GB, free: 484 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/1.191, allocations: 186.3 kB / 1.122 GB, free: 448 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003853/1.195, allocations: 0.7043 MB / 1.123 GB, free: 404 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/1.197, allocations: 0.5045 MB / 1.123 GB, free: 388 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001609/1.199, allocations: 454.7 kB / 1.124 GB, free: 368 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/1.2, allocations: 225.6 kB / 1.124 GB, free: 348 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/1.203, allocations: 0.4935 MB / 1.124 GB, free: 292 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/1.204, allocations: 335.2 kB / 1.125 GB, free: 240 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/1.205, allocations: 16.06 kB / 1.125 GB, free: 240 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/1.207, allocations: 0.5517 MB / 1.125 GB, free: 216 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000275/1.208, allocations: 101 kB / 1.125 GB, free: 204 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002454/1.208, allocations: 90.83 kB / 1.125 GB, free: 16.15 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/1.21, allocations: 466.3 kB / 1.126 GB, free: 16.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.21, allocations: 0 / 1.126 GB, free: 16.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.036e-06/1.21, allocations: 1.656 kB / 1.126 GB, free: 16.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.01e-05/1.21, allocations: 0 / 1.126 GB, free: 16.12 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.001499/1.211, allocations: 0.623 MB / 1.127 GB, free: 15.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/1.211, allocations: 8 kB / 1.127 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/1.211, allocations: 62.89 kB / 1.127 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/1.213, allocations: 132.2 kB / 1.127 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/1.214, allocations: 306 kB / 1.127 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/1.214, allocations: 50.3 kB / 1.127 GB, free: 15.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.213e-05/1.214, allocations: 27.66 kB / 1.127 GB, free: 15.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/1.215, allocations: 376.7 kB / 1.127 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/1.215, allocations: 1.859 kB / 1.127 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/1.215, allocations: 11.72 kB / 1.127 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/1.215, allocations: 7.469 kB / 1.127 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008655/1.216, allocations: 281.9 kB / 1.128 GB, free: 15.21 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.003263/1.219, allocations: 1.484 MB / 1.129 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008712/1.22, allocations: 164.4 kB / 1.129 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/1.221, allocations: 141.8 kB / 1.129 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/1.221, allocations: 40.03 kB / 1.13 GB, free: 14.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 3.036e-06/1.221, allocations: 0 / 1.13 GB, free: 14.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.00177/1.223, allocations: 382.7 kB / 1.13 GB, free: 14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/1.223, allocations: 53.66 kB / 1.13 GB, free: 13.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005717/1.224, allocations: 316.4 kB / 1.13 GB, free: 13.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-05/1.224, allocations: 26.83 kB / 1.13 GB, free: 13.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/1.224, allocations: 186.9 kB / 1.13 GB, free: 13.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.012e-05/1.224, allocations: 55.19 kB / 1.13 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/1.224, allocations: 4.375 kB / 1.131 GB, free: 13.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001839/1.224, allocations: 343.6 kB / 1.131 GB, free: 13.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/1.225, allocations: 94.58 kB / 1.131 GB, free: 13.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/1.225, allocations: 171.3 kB / 1.131 GB, free: 13.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/1.226, allocations: 102.1 kB / 1.131 GB, free: 13.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.226, allocations: 4 kB / 1.131 GB, free: 13.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001099/1.227, allocations: 303.8 kB / 1.131 GB, free: 13.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.227, allocations: 5.75 kB / 1.131 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.227, allocations: 11.38 kB / 1.131 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/1.227, allocations: 2.844 kB / 1.131 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/1.227, allocations: 50.67 kB / 1.132 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.227, allocations: 3.25 kB / 1.132 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004844/1.228, allocations: 40.48 kB / 1.132 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.064e-05/1.228, allocations: 10.44 kB / 1.132 GB, free: 13.16 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0003017/1.228, allocations: 160.1 kB / 1.132 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/1.228, allocations: 28.98 kB / 1.132 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/1.23, allocations: 325.9 kB / 1.132 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/1.23, allocations: 3.062 kB / 1.132 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.23, allocations: 0 / 1.132 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/1.23, allocations: 5.453 kB / 1.132 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/1.232, allocations: 0.8142 MB / 1.133 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/1.232, allocations: 3.406 kB / 1.133 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/1.232, allocations: 41.53 kB / 1.133 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.167e-05/1.232, allocations: 7.359 kB / 1.133 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/1.232, allocations: 16.06 kB / 1.133 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.433e-06/1.232, allocations: 0 / 1.133 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.233, allocations: 4.688 kB / 1.133 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/1.234, allocations: 0.4889 MB / 1.133 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/1.234, allocations: 128.3 kB / 1.134 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.735e-05/1.234, allocations: 7.156 kB / 1.134 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/1.235, allocations: 33.05 kB / 1.134 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.235, allocations: 17.66 kB / 1.134 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/1.235, allocations: 12.75 kB / 1.134 GB, free: 12.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003512/1.235, allocations: 221.5 kB / 1.134 GB, free: 12.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.41e-07/1.235, allocations: 4 kB / 1.134 GB, free: 12.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008157/1.236, allocations: 118.5 kB / 1.134 GB, free: 12.02 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.002464/1.238, allocations: 1.623 MB / 1.136 GB, free: 10.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009953/1.239, allocations: 236.7 kB / 1.136 GB, free: 10.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.24, allocations: 0 / 1.136 GB, free: 10.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004187/1.24, allocations: 123.4 kB / 1.136 GB, free: 10.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/1.241, allocations: 149.3 kB / 1.136 GB, free: 10.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/1.245, allocations: 2.238 MB / 1.138 GB, free: 8.738 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/1.246, allocations: 0.7932 MB / 1.139 GB, free: 8.039 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007353/1.246, allocations: 89.53 kB / 1.139 GB, free: 8.016 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/1.247, allocations: 100.6 kB / 1.139 GB, free: 8.008 MB / 0.698 GB Notification: Performance of SimCode: time 1.974e-06/1.247, allocations: 5.219 kB / 1.139 GB, free: 8.004 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0484/1.295, allocations: 9.746 MB / 1.149 GB, free: 3.574 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003258/1.295, allocations: 224.7 kB / 1.149 GB, free: 3.328 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.969/4.265, allocations: 4.359 kB / 1.149 GB, free: 3.328 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)