Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.234/2.234, allocations: 248.5 MB / 261 MB, free: 6.031 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.001497/0.001497, allocations: 179 kB / 320.4 MB, free: 15.34 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.881/1.881, allocations: 205.2 MB / 0.571 GB, free: 11.79 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.001134/0.001133, allocations: 114 kB / 0.6754 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.298e-05/4.311e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1856, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8437/1.029, allocations: 133.1 MB / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004059/1.03, allocations: 84.08 kB / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03146/1.061, allocations: 5.324 MB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.192e-06/1.061, allocations: 0 / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.384e-06/1.061, allocations: 0 / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004617/1.062, allocations: 366.2 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/1.062, allocations: 8.031 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/1.062, allocations: 42.19 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/1.062, allocations: 3.953 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/1.062, allocations: 159.1 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/1.062, allocations: 8 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/1.062, allocations: 3.984 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/1.062, allocations: 40.77 kB / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.062, allocations: 0 / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/1.062, allocations: 0 / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/1.062, allocations: 3.953 kB / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.226e-05/1.062, allocations: 27.05 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/1.063, allocations: 251.7 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/1.063, allocations: 37.83 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/1.063, allocations: 24.25 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/1.063, allocations: 0 / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/1.063, allocations: 34.56 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/1.063, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001954/1.063, allocations: 60.86 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/1.063, allocations: 51.41 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/1.064, allocations: 96.88 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/1.064, allocations: 25.7 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/1.064, allocations: 84.08 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/1.064, allocations: 11.81 kB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/1.064, allocations: 3.125 kB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.064, allocations: 318.8 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/1.064, allocations: 7.375 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/1.064, allocations: 17.72 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.888e-05/1.064, allocations: 12.16 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.064, allocations: 0 / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001441/1.064, allocations: 56.69 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.064, allocations: 4 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.064, allocations: 4.031 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/1.064, allocations: 11.94 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/1.064, allocations: 7.188 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.064, allocations: 4 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/1.064, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/1.064, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.6511 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 (5): * Single equations (assignments): 5 * 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.318e-05/1.065, allocations: 108.9 kB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/1.065, allocations: 3.906 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/1.065, allocations: 66.92 kB / 1.028 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.065, allocations: 0 / 1.028 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.065, allocations: 3.953 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.065, allocations: 0 / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/1.065, allocations: 161.4 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.065, allocations: 0 / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.889e-05/1.065, allocations: 4 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.065, allocations: 0 / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/1.065, allocations: 3.938 kB / 1.028 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/1.065, allocations: 4 kB / 1.028 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.065, allocations: 4.062 kB / 1.028 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/1.065, allocations: 150.6 kB / 1.028 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/1.065, allocations: 89 kB / 1.028 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/1.065, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/1.066, allocations: 2.75 kB / 1.028 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/1.066, allocations: 4 kB / 1.028 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/1.066, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.927e-05/1.066, allocations: 83.23 kB / 1.028 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.9e-07/1.066, allocations: 7.938 kB / 1.028 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003368/1.066, allocations: 27.23 kB / 1.028 GB, free: 10.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005846/1.067, allocations: 0.7018 MB / 1.029 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001199/1.067, allocations: 19.83 kB / 1.029 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.067, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/1.067, allocations: 19.98 kB / 1.029 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/1.067, allocations: 4.688 kB / 1.029 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/1.067, allocations: 102.8 kB / 1.029 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/1.068, allocations: 0.6809 MB / 1.03 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.643e-05/1.068, allocations: 4 kB / 1.03 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/1.068, allocations: 14.75 kB / 1.03 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.068, allocations: 0 / 1.03 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/1.085, allocations: 1.184 MB / 1.031 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.04371/1.129, allocations: 176.3 kB / 1.031 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/3.368, allocations: 0 / 1.031 GB, free: 8.066 MB / 0.6511 GB