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.863/1.863, allocations: 288.2 MB / 303.2 MB, free: 8.102 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.001123/0.001123, allocations: 189 kB / 371.8 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.982/1.982, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.001025/0.001025, allocations: 90.92 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005173/0.0005174, allocations: 12.78 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2836, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.931/6.215, allocations: 2.064 GB / 3.043 GB, free: 264.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004427/6.216, allocations: 91.95 kB / 3.043 GB, free: 264.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.433/7.649, allocations: 304 MB / 3.34 GB, free: 258.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.805e-06/7.649, allocations: 0 / 3.34 GB, free: 258.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.22e-05/7.649, allocations: 12.84 kB / 3.34 GB, free: 258.4 MB / 0.948 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.002219/7.651, allocations: 0.7599 MB / 3.341 GB, free: 258 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/7.651, allocations: 9.781 kB / 3.341 GB, free: 258 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/7.652, allocations: 61.81 kB / 3.341 GB, free: 257.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/7.653, allocations: 127.9 kB / 3.341 GB, free: 257.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007922/7.654, allocations: 342.1 kB / 3.341 GB, free: 257.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-05/7.654, allocations: 54.7 kB / 3.342 GB, free: 257.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.278e-05/7.654, allocations: 25.88 kB / 3.342 GB, free: 257.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/7.655, allocations: 360.3 kB / 3.342 GB, free: 257.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/7.655, allocations: 0 / 3.342 GB, free: 257.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/7.655, allocations: 9.969 kB / 3.342 GB, free: 257.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/7.655, allocations: 14.25 kB / 3.342 GB, free: 257.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000624/7.655, allocations: 258.4 kB / 3.342 GB, free: 257.6 MB / 0.948 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.002279/7.658, allocations: 1.485 MB / 3.344 GB, free: 256.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/7.658, allocations: 188.5 kB / 3.344 GB, free: 256.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009484/7.659, allocations: 0.5027 MB / 3.344 GB, free: 256.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/7.659, allocations: 31.66 kB / 3.344 GB, free: 256.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 2.615e-06/7.659, allocations: 3.688 kB / 3.344 GB, free: 256.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.001159/7.66, allocations: 362 kB / 3.345 GB, free: 256.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/7.66, allocations: 56.66 kB / 3.345 GB, free: 256 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/7.661, allocations: 275.9 kB / 3.345 GB, free: 255.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/7.661, allocations: 32.11 kB / 3.345 GB, free: 255.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/7.661, allocations: 189.7 kB / 3.345 GB, free: 255.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/7.661, allocations: 44.62 kB / 3.345 GB, free: 255.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/7.661, allocations: 3.688 kB / 3.345 GB, free: 255.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001153/7.661, allocations: 342.8 kB / 3.346 GB, free: 255.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/7.661, allocations: 88.59 kB / 3.346 GB, free: 255.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/7.662, allocations: 155.2 kB / 3.346 GB, free: 255.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/7.662, allocations: 106.1 kB / 3.346 GB, free: 255.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/7.662, allocations: 3.953 kB / 3.346 GB, free: 255.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006759/7.663, allocations: 290.3 kB / 3.346 GB, free: 255.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/7.663, allocations: 6.719 kB / 3.346 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/7.663, allocations: 1.156 kB / 3.346 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/7.663, allocations: 3.188 kB / 3.346 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/7.663, allocations: 41.38 kB / 3.346 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/7.663, allocations: 6.344 kB / 3.346 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/7.663, allocations: 46.56 kB / 3.346 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/7.663, allocations: 13.12 kB / 3.346 GB, free: 255.3 MB / 0.948 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.0002044/7.664, allocations: 147.9 kB / 3.346 GB, free: 255.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/7.664, allocations: 32.69 kB / 3.346 GB, free: 255.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008024/7.665, allocations: 318.2 kB / 3.347 GB, free: 255.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/7.665, allocations: 5.094 kB / 3.347 GB, free: 255.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/7.665, allocations: 0 / 3.347 GB, free: 255.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/7.665, allocations: 1.438 kB / 3.347 GB, free: 255.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/7.666, allocations: 0.8005 MB / 3.348 GB, free: 254.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/7.666, allocations: 1.375 kB / 3.348 GB, free: 254.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/7.666, allocations: 42.69 kB / 3.348 GB, free: 254.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/7.666, allocations: 4 kB / 3.348 GB, free: 254.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/7.666, allocations: 2.969 kB / 3.348 GB, free: 254.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/7.666, allocations: 4.469 kB / 3.348 GB, free: 254.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/7.666, allocations: 6.672 kB / 3.348 GB, free: 254.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000668/7.667, allocations: 487.3 kB / 3.348 GB, free: 254.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/7.667, allocations: 135.4 kB / 3.348 GB, free: 254.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/7.667, allocations: 7.562 kB / 3.348 GB, free: 254.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/7.668, allocations: 31.12 kB / 3.348 GB, free: 254.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/7.668, allocations: 20.86 kB / 3.348 GB, free: 254.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/7.668, allocations: 8.25 kB / 3.348 GB, free: 254.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002556/7.668, allocations: 234.8 kB / 3.349 GB, free: 254.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.668, allocations: 0 / 3.349 GB, free: 254.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001175/7.669, allocations: 228.1 kB / 3.349 GB, free: 254.2 MB / 0.948 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.003683/7.673, allocations: 2.638 MB / 3.351 GB, free: 252.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006396/7.674, allocations: 222 kB / 3.352 GB, free: 252.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/7.674, allocations: 1.062 kB / 3.352 GB, free: 252.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/7.674, allocations: 120 kB / 3.352 GB, free: 252.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008833/7.675, allocations: 145.8 kB / 3.352 GB, free: 252.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/7.678, allocations: 1.933 MB / 3.354 GB, free: 251.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/7.678, allocations: 0.7888 MB / 3.354 GB, free: 250.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004368/7.678, allocations: 84.95 kB / 3.355 GB, free: 250.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/7.679, allocations: 102.6 kB / 3.355 GB, free: 250.4 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/7.679, allocations: 0 / 3.355 GB, free: 250.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05346/7.732, allocations: 28.06 MB / 3.382 GB, free: 249.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/7.732, allocations: 220.4 kB / 3.382 GB, free: 249.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/10.81, allocations: 0 / 3.382 GB, free: 249.1 MB / 0.948 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)