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.267/2.267, allocations: 248.7 MB / 256.2 MB, free: 7.109 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.002432/0.002432, allocations: 187.4 kB / 315.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 88.41 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.641e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2756, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.176/7.452, allocations: 2.18 GB / 3.064 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/7.452, allocations: 82.89 kB / 3.064 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.257/8.709, allocations: 212.7 MB / 3.272 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.523e-06/8.71, allocations: 1.688 kB / 3.272 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.728e-05/8.71, allocations: 5.188 kB / 3.272 GB, free: 254.5 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.001367/8.711, allocations: 0.6093 MB / 3.272 GB, free: 254 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/8.711, allocations: 10.97 kB / 3.272 GB, free: 254 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000931/8.712, allocations: 77.2 kB / 3.272 GB, free: 254 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/8.713, allocations: 299.1 kB / 3.273 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/8.713, allocations: 6.031 kB / 3.273 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/8.713, allocations: 11.69 kB / 3.273 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004251/8.713, allocations: 146.4 kB / 3.273 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/8.714, allocations: 245.7 kB / 3.273 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/8.714, allocations: 0 / 3.273 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/8.714, allocations: 1.188 kB / 3.273 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/8.714, allocations: 8.859 kB / 3.273 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/8.716, allocations: 1.433 MB / 3.274 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/8.716, allocations: 138.6 kB / 3.275 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/8.716, allocations: 75.59 kB / 3.275 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003691/8.717, allocations: 114.5 kB / 3.275 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/8.717, allocations: 41.25 kB / 3.275 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/8.717, allocations: 0 / 3.275 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0006453/8.718, allocations: 128.8 kB / 3.275 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/8.718, allocations: 163.6 kB / 3.275 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/8.718, allocations: 202.8 kB / 3.275 GB, free: 252 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/8.718, allocations: 26.7 kB / 3.275 GB, free: 252 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/8.718, allocations: 159.3 kB / 3.275 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/8.718, allocations: 39.88 kB / 3.275 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/8.718, allocations: 0 / 3.275 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.512e-05/8.718, allocations: 329 kB / 3.276 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/8.718, allocations: 48.83 kB / 3.276 GB, free: 251.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/8.719, allocations: 136.3 kB / 3.276 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/8.719, allocations: 91.02 kB / 3.276 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/8.719, allocations: 1.5 kB / 3.276 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000721/8.72, allocations: 213.9 kB / 3.276 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/8.72, allocations: 5.344 kB / 3.276 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/8.72, allocations: 2.688 kB / 3.276 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/8.72, allocations: 2.75 kB / 3.276 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/8.72, allocations: 40.55 kB / 3.276 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/8.72, allocations: 14.86 kB / 3.276 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/8.721, allocations: 24.03 kB / 3.276 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/8.721, allocations: 9.5 kB / 3.276 GB, free: 251.4 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.596e-05/8.721, allocations: 107.9 kB / 3.276 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005197/8.721, allocations: 149.2 kB / 3.277 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/8.721, allocations: 17.34 kB / 3.277 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/8.722, allocations: 112.8 kB / 3.277 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/8.722, allocations: 2.188 kB / 3.277 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/8.722, allocations: 2.5 kB / 3.277 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/8.722, allocations: 1.406 kB / 3.277 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/8.723, allocations: 0.7986 MB / 3.277 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/8.723, allocations: 3.875 kB / 3.277 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/8.723, allocations: 28.47 kB / 3.278 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/8.723, allocations: 3.938 kB / 3.278 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/8.723, allocations: 6.625 kB / 3.278 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/8.723, allocations: 0 / 3.278 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/8.723, allocations: 3.844 kB / 3.278 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005896/8.724, allocations: 360.3 kB / 3.278 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/8.724, allocations: 120.2 kB / 3.278 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/8.724, allocations: 2.219 kB / 3.278 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/8.724, allocations: 16.14 kB / 3.278 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/8.725, allocations: 8.125 kB / 3.278 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/8.725, allocations: 10.53 kB / 3.278 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001717/8.725, allocations: 164.4 kB / 3.278 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/8.725, allocations: 0 / 3.278 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009846/8.726, allocations: 165.7 kB / 3.278 GB, free: 250.1 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.002944/8.729, allocations: 2.296 MB / 3.281 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004135/8.729, allocations: 104.1 kB / 3.281 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/8.729, allocations: 0.5 kB / 3.281 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/8.729, allocations: 43.5 kB / 3.281 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007181/8.73, allocations: 63.64 kB / 3.281 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/8.732, allocations: 429.5 kB / 3.281 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/8.732, allocations: 0.764 MB / 3.282 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002857/8.732, allocations: 49.36 kB / 3.282 GB, free: 248 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/8.732, allocations: 66.12 kB / 3.282 GB, free: 248 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/8.732, allocations: 2.844 kB / 3.282 GB, free: 248 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06336/8.796, allocations: 13.06 MB / 3.295 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003396/8.796, allocations: 166.8 kB / 3.295 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/11.91, allocations: 0 / 3.295 GB, free: 247.1 MB / 0.8698 GB