Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.186/2.186, allocations: 248.7 MB / 256.2 MB, free: 7.027 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.001455/0.001455, allocations: 176.3 kB / 315.4 MB, free: 4.027 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.173/2.173, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 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.001179/0.001179, allocations: 88.42 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.431e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2405, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.132/7.372, allocations: 2.18 GB / 3.064 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/7.373, allocations: 86.83 kB / 3.064 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.574/8.946, allocations: 284.9 MB / 3.343 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.533e-06/8.946, allocations: 0 / 3.343 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.757e-05/8.946, allocations: 11.38 kB / 3.343 GB, free: 235.3 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001462/8.948, allocations: 0.6628 MB / 3.343 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/8.948, allocations: 11.19 kB / 3.343 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/8.948, allocations: 60.94 kB / 3.343 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006661/8.949, allocations: 321.9 kB / 3.344 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/8.949, allocations: 10.16 kB / 3.344 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.014e-05/8.949, allocations: 14.59 kB / 3.344 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004598/8.95, allocations: 167.4 kB / 3.344 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/8.95, allocations: 244.1 kB / 3.344 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/8.95, allocations: 11.22 kB / 3.344 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/8.95, allocations: 0 / 3.344 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/8.95, allocations: 7.688 kB / 3.344 GB, free: 234.2 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.001713/8.952, allocations: 1.06 MB / 3.345 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/8.952, allocations: 150.1 kB / 3.345 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/8.953, allocations: 85.8 kB / 3.345 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006981/8.953, allocations: 308.7 kB / 3.346 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/8.953, allocations: 34.56 kB / 3.346 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 3.206e-06/8.953, allocations: 3.031 kB / 3.346 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.001108/8.955, allocations: 252.7 kB / 3.346 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/8.955, allocations: 59.38 kB / 3.346 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/8.955, allocations: 176.9 kB / 3.346 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/8.955, allocations: 25.7 kB / 3.346 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/8.955, allocations: 187.7 kB / 3.346 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/8.955, allocations: 57.7 kB / 3.346 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/8.955, allocations: 0 / 3.346 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/8.955, allocations: 330.7 kB / 3.347 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/8.955, allocations: 54.2 kB / 3.347 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/8.956, allocations: 101.3 kB / 3.347 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/8.956, allocations: 116.9 kB / 3.347 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/8.956, allocations: 3.781 kB / 3.347 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000711/8.957, allocations: 241.4 kB / 3.347 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/8.957, allocations: 3.812 kB / 3.347 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/8.957, allocations: 0 / 3.347 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/8.957, allocations: 7.766 kB / 3.347 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/8.957, allocations: 49.38 kB / 3.347 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/8.957, allocations: 2.844 kB / 3.347 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/8.958, allocations: 25.3 kB / 3.347 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/8.958, allocations: 11.91 kB / 3.347 GB, free: 231.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.294e-05/8.958, allocations: 105 kB / 3.347 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007023/8.958, allocations: 242.7 kB / 3.348 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/8.958, allocations: 19.5 kB / 3.348 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007821/8.959, allocations: 257.9 kB / 3.348 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/8.959, allocations: 0 / 3.348 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/8.959, allocations: 0 / 3.348 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/8.959, allocations: 3.984 kB / 3.348 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/8.961, allocations: 0.7049 MB / 3.349 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/8.961, allocations: 0 / 3.349 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/8.961, allocations: 46.97 kB / 3.349 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/8.961, allocations: 8.172 kB / 3.349 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/8.961, allocations: 3.969 kB / 3.349 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/8.961, allocations: 3.875 kB / 3.349 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/8.961, allocations: 3.375 kB / 3.349 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/8.962, allocations: 0.5363 MB / 3.349 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/8.962, allocations: 119.7 kB / 3.349 GB, free: 230 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/8.962, allocations: 11.97 kB / 3.349 GB, free: 230 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/8.963, allocations: 23.17 kB / 3.349 GB, free: 230 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/8.963, allocations: 19.41 kB / 3.349 GB, free: 230 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/8.963, allocations: 11.84 kB / 3.349 GB, free: 230 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001495/8.963, allocations: 146.2 kB / 3.35 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.5e-07/8.963, allocations: 0 / 3.35 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008015/8.964, allocations: 153.3 kB / 3.35 GB, free: 229.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senH_flow.h_out,senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.003341/8.967, allocations: 2.806 MB / 3.352 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004393/8.968, allocations: 143.9 kB / 3.353 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/8.968, allocations: 0 / 3.353 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/8.968, allocations: 87.84 kB / 3.353 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000806/8.969, allocations: 84.8 kB / 3.353 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/8.97, allocations: 0.5813 MB / 3.353 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/8.971, allocations: 0.7914 MB / 3.354 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000276/8.971, allocations: 50.03 kB / 3.354 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/8.971, allocations: 95.41 kB / 3.354 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of SimCode: time 8.31e-07/8.971, allocations: 3.938 kB / 3.354 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05928/9.03, allocations: 15.04 MB / 3.369 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/9.031, allocations: 174.3 kB / 3.369 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.061/12.09, allocations: 0 / 3.369 GB, free: 210.5 MB / 0.8698 GB