Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.154/2.154, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 188.6 kB / 325.5 MB, free: 2.895 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.4/2.4, allocations: 205.4 MB / 0.5764 GB, free: 20.85 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.001127/0.001127, allocations: 99.91 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006623/0.0006624, allocations: 11.25 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2106, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2217/0.4324, allocations: 131.9 MB / 1.028 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/0.4328, allocations: 83.94 kB / 1.028 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01212/0.445, allocations: 2.268 MB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.856e-06/0.445, allocations: 4 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.445, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004247/0.4455, allocations: 341.1 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4455, allocations: 11.97 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.4456, allocations: 42.48 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.4457, allocations: 7.891 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.4458, allocations: 163 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.4458, allocations: 4 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.4458, allocations: 0 / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.446, allocations: 33.7 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.446, allocations: 0 / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.446, allocations: 0 / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.446, allocations: 4 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4e-05/0.4461, allocations: 7.969 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.4463, allocations: 153.6 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.461e-05/0.4464, allocations: 22.55 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.4464, allocations: 7.984 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.4465, allocations: 38.62 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.814e-06/0.4465, allocations: 0 / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/0.4466, allocations: 33.7 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.4467, allocations: 55.34 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/0.4468, allocations: 93 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.4468, allocations: 29.94 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.009e-05/0.4469, allocations: 84.14 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.4469, allocations: 3.906 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.4469, allocations: 0 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4471, allocations: 318.8 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.4471, allocations: 4 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.4471, allocations: 4 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.377e-05/0.4472, allocations: 0 / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4472, allocations: 0 / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.786e-05/0.4473, allocations: 45.75 kB / 1.031 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4473, allocations: 8 kB / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4473, allocations: 0 / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4473, allocations: 0 / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.4476, allocations: 8 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005005/0.4481, allocations: 0.5898 MB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.4482, allocations: 7.906 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.4482, allocations: 4.125 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.4483, allocations: 109.9 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.4483, allocations: 0 / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.4485, allocations: 56.62 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4485, allocations: 0 / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4485, allocations: 0 / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4485, allocations: 3.953 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.4487, allocations: 153.7 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4487, allocations: 4.031 kB / 1.032 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.4489, allocations: 9.5 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.4489, allocations: 0 / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4489, allocations: 0 / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004311/0.4493, allocations: 0.5899 MB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4494, allocations: 0 / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.4495, allocations: 65.2 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.4496, allocations: 77.11 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.4496, allocations: 3.984 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/0.4496, allocations: 7.953 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.4496, allocations: 0 / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.4497, allocations: 0 / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.195e-05/0.4497, allocations: 83.28 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4497, allocations: 128 / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002597/0.45, allocations: 12 kB / 1.033 GB, free: 7.363 MB / 0.6823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005815/0.4506, allocations: 0.6162 MB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.4509, allocations: 23.92 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.4509, allocations: 4.094 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.4511, allocations: 8 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.4512, allocations: 3.953 kB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.4518, allocations: 144.8 kB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.4521, allocations: 0.677 MB / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.619e-05/0.4521, allocations: 4.062 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.4522, allocations: 7.438 kB / 1.035 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of SimCode: time 1.493e-06/0.4522, allocations: 3.938 kB / 1.035 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.4737, allocations: 1.147 MB / 1.036 GB, free: 4.879 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003799/0.4741, allocations: 249 kB / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.715, allocations: 2.391 kB / 1.036 GB, free: 4.566 MB / 0.6823 GB