Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.479/2.479, allocations: 248.5 MB / 261.1 MB, free: 5.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001413, allocations: 175.5 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.2 MB / 0.571 GB, free: 11.84 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.001083/0.001083, allocations: 100.7 kB / 0.6754 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.713e-05/4.732e-05, allocations: 8 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.225, allocations: 106.2 MB / 0.8907 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.298/7.523, allocations: 2.18 GB / 3.07 GB, free: 154 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/7.524, allocations: 83.58 kB / 3.07 GB, free: 154 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.335/8.858, allocations: 215.7 MB / 3.281 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.175e-06/8.858, allocations: 0 / 3.281 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.724e-05/8.858, allocations: 9.078 kB / 3.281 GB, free: 255.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001294/8.86, allocations: 0.6131 MB / 3.281 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/8.86, allocations: 9.156 kB / 3.282 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.584e-05/8.86, allocations: 53.58 kB / 3.282 GB, free: 255.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00093/8.861, allocations: 75.06 kB / 3.282 GB, free: 255.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005643/8.861, allocations: 297.7 kB / 3.282 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/8.861, allocations: 13.91 kB / 3.282 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/8.862, allocations: 24 kB / 3.282 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/8.862, allocations: 258.3 kB / 3.282 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/8.862, allocations: 0 / 3.282 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/8.862, allocations: 9.781 kB / 3.282 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/8.862, allocations: 8.672 kB / 3.282 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/8.863, allocations: 160.6 kB / 3.282 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/8.864, allocations: 1.225 MB / 3.284 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/8.865, allocations: 153.9 kB / 3.284 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/8.865, allocations: 103.3 kB / 3.284 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009357/8.866, allocations: 323 kB / 3.284 GB, free: 253.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/8.866, allocations: 42.59 kB / 3.284 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 2.735e-06/8.866, allocations: 0 / 3.284 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.0006695/8.867, allocations: 185.2 kB / 3.284 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/8.867, allocations: 154.2 kB / 3.284 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/8.867, allocations: 253.3 kB / 3.285 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/8.867, allocations: 31.98 kB / 3.285 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/8.867, allocations: 148.2 kB / 3.285 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/8.867, allocations: 48.83 kB / 3.285 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.575e-05/8.867, allocations: 2.844 kB / 3.285 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.67e-05/8.867, allocations: 340.7 kB / 3.285 GB, free: 253 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/8.868, allocations: 55.38 kB / 3.285 GB, free: 253 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/8.868, allocations: 127.4 kB / 3.285 GB, free: 253 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/8.868, allocations: 64.33 kB / 3.286 GB, free: 253 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/8.868, allocations: 6.281 kB / 3.286 GB, free: 253 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005365/8.869, allocations: 212.5 kB / 3.286 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/8.869, allocations: 10.59 kB / 3.286 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/8.869, allocations: 0 / 3.286 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/8.869, allocations: 3.906 kB / 3.286 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/8.869, allocations: 40.22 kB / 3.286 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/8.869, allocations: 9.781 kB / 3.286 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/8.869, allocations: 36.62 kB / 3.286 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/8.869, allocations: 14.17 kB / 3.286 GB, free: 252.9 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.945e-05/8.87, allocations: 115.2 kB / 3.286 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/8.87, allocations: 27.88 kB / 3.286 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004921/8.87, allocations: 162.9 kB / 3.286 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/8.87, allocations: 3.25 kB / 3.286 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/8.87, allocations: 2.969 kB / 3.286 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/8.87, allocations: 0 / 3.286 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/8.871, allocations: 0.8205 MB / 3.287 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/8.871, allocations: 6.812 kB / 3.287 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/8.872, allocations: 23.8 kB / 3.287 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/8.872, allocations: 2.531 kB / 3.287 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/8.872, allocations: 3.719 kB / 3.287 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/8.872, allocations: 3.984 kB / 3.287 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/8.872, allocations: 4.438 kB / 3.287 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/8.872, allocations: 354.6 kB / 3.287 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/8.872, allocations: 126.9 kB / 3.287 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/8.872, allocations: 0 / 3.287 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/8.873, allocations: 14.16 kB / 3.287 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/8.873, allocations: 15.02 kB / 3.287 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/8.873, allocations: 3.219 kB / 3.287 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003037/8.873, allocations: 230.3 kB / 3.288 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.1e-07/8.873, allocations: 2.281 kB / 3.288 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009891/8.874, allocations: 190.1 kB / 3.288 GB, free: 251.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002513/8.877, allocations: 2.141 MB / 3.29 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004173/8.877, allocations: 125.9 kB / 3.29 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/8.877, allocations: 7.406 kB / 3.29 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/8.877, allocations: 43.33 kB / 3.29 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/8.878, allocations: 120.5 kB / 3.29 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/8.88, allocations: 465.6 kB / 3.291 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/8.88, allocations: 0.7618 MB / 3.291 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003438/8.88, allocations: 68.75 kB / 3.291 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/8.881, allocations: 69.14 kB / 3.292 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.112e-06/8.881, allocations: 0 / 3.292 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06353/8.944, allocations: 25.83 MB / 3.317 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/8.944, allocations: 185.7 kB / 3.317 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.727/12.67, allocations: 4 kB / 3.317 GB, free: 242.4 MB / 0.8698 GB