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.245/2.245, 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.001467/0.001466, allocations: 192.4 kB / 315.4 MB, free: 3.992 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.075/2.075, allocations: 205.3 MB / 0.5662 GB, free: 0.5195 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.001129/0.001129, allocations: 91.5 kB / 0.6704 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.623e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2569, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9133/1.17, allocations: 133.4 MB / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/1.171, allocations: 87.56 kB / 1.014 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02844/1.199, allocations: 5.303 MB / 1.02 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.993e-06/1.199, allocations: 0 / 1.02 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.526e-06/1.199, allocations: 0 / 1.02 GB, free: 1.203 MB / 0.6355 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.0005447/1.2, allocations: 365.5 kB / 1.02 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/1.2, allocations: 11.97 kB / 1.02 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/1.2, allocations: 7.953 kB / 1.02 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/1.2, allocations: 159.1 kB / 1.02 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/1.2, allocations: 0 / 1.02 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/1.2, allocations: 4 kB / 1.02 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001001/1.2, allocations: 15.5 kB / 1.02 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.224e-05/1.2, allocations: 40.62 kB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.2, allocations: 0 / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/1.2, allocations: 0 / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/1.2, allocations: 7.953 kB / 1.02 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/1.201, allocations: 223.8 kB / 1.02 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/1.201, allocations: 48.3 kB / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/1.201, allocations: 18.98 kB / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/1.201, allocations: 0 / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/1.201, allocations: 38.56 kB / 1.021 GB, free: 164 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.964e-06/1.201, allocations: 0 / 1.021 GB, free: 164 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001986/1.201, allocations: 53.08 kB / 1.021 GB, free: 108 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/1.201, allocations: 51.41 kB / 1.021 GB, free: 44 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/1.202, allocations: 96.31 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/1.202, allocations: 29.64 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/1.202, allocations: 84.08 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/1.202, allocations: 11.8 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/1.202, allocations: 4 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.202, allocations: 317.1 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/1.202, allocations: 6.938 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/1.202, allocations: 17.41 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.703e-05/1.202, allocations: 7.984 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.202, allocations: 0 / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000135/1.202, allocations: 53.19 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.202, allocations: 8 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.202, allocations: 4.031 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.202, allocations: 0 / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/1.202, allocations: 8 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.202, allocations: 3.938 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/1.202, allocations: 3.953 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/1.202, allocations: 4 kB / 1.021 GB, free: 15.38 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.027e-05/1.202, allocations: 104.2 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001292/1.203, allocations: 52.97 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/1.203, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/1.203, allocations: 61.42 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.203, allocations: 7.953 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.203, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.203, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/1.203, allocations: 137.6 kB / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.203, allocations: 0 / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/1.203, allocations: 8 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/1.203, allocations: 0 / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/1.203, allocations: 0 / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.203, allocations: 4 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.203, allocations: 384 / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/1.203, allocations: 158.1 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/1.204, allocations: 77.11 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/1.204, allocations: 7.984 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/1.204, allocations: 0 / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/1.204, allocations: 4 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/1.204, allocations: 0 / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.405e-05/1.204, allocations: 90.47 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.204, allocations: 0 / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003685/1.204, allocations: 19.95 kB / 1.022 GB, free: 14.58 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.0006152/1.205, allocations: 0.6991 MB / 1.023 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001186/1.205, allocations: 26.19 kB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.205, allocations: 4.062 kB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.822e-05/1.205, allocations: 8 kB / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/1.205, allocations: 0 / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/1.206, allocations: 114.5 kB / 1.023 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/1.206, allocations: 0.6768 MB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.875e-05/1.206, allocations: 11.94 kB / 1.023 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/1.206, allocations: 11.44 kB / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/1.206, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03819/1.244, allocations: 0.872 MB / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/1.245, allocations: 163.8 kB / 1.024 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/3.589, allocations: 3.5 kB / 1.024 GB, free: 11.9 MB / 0.6511 GB