Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 222.4 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 292.3 MB / 0.5489 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 70.58 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2023, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002616/0.2049, allocations: 1.283 MB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009344/0.2059, allocations: 0.5955 MB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.2059, allocations: 0 / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.206, allocations: 0 / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.841e-05/0.2061, allocations: 3.938 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.2066, allocations: 147.3 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.402e-05/0.2067, allocations: 23.91 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.2067, allocations: 4 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.923e-05/0.2068, allocations: 8 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.2068, allocations: 11.92 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.2068, allocations: 0 / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.2073, allocations: 347.3 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.2073, allocations: 0 / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.2074, allocations: 15.92 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.2076, allocations: 143.9 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2076, allocations: 4 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2077, allocations: 0 / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2077, allocations: 0 / 0.786 GB, free: 10.78 MB / 0.6075 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.0004078/0.2081, allocations: 367.3 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2081, allocations: 8.031 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.2082, allocations: 30.75 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.2082, allocations: 8.938 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.2083, allocations: 164.3 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.2083, allocations: 384 / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.2083, allocations: 4.375 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.2084, allocations: 46.25 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2085, allocations: 7.938 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.2085, allocations: 4 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2085, allocations: 0 / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.794e-05/0.2085, allocations: 15.98 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.2089, allocations: 249 kB / 0.7869 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.2091, allocations: 54.5 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.2091, allocations: 20.86 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.2091, allocations: 3.984 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.2092, allocations: 34.55 kB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2092, allocations: 0 / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001726/0.2093, allocations: 65.53 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.2094, allocations: 51.41 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.144e-05/0.2095, allocations: 93.86 kB / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.2095, allocations: 33.58 kB / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.2095, allocations: 92.08 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.2095, allocations: 15.8 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.2096, allocations: 17.72 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.2097, allocations: 310.8 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.2097, allocations: 8 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.2097, allocations: 21.7 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/0.2098, allocations: 33.72 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2098, allocations: 7.875 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.562e-05/0.2099, allocations: 53.69 kB / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2099, allocations: 4 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2099, allocations: 4 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2099, allocations: 0 / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.728e-05/0.21, allocations: 11.98 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.21, allocations: 3.938 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/0.21, allocations: 0 / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2101, allocations: 4 kB / 0.7878 GB, free: 8.719 MB / 0.6075 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/0.2101, allocations: 114.5 kB / 0.7879 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.2102, allocations: 3.906 kB / 0.7879 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.2103, allocations: 65.17 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2103, allocations: 0 / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2103, allocations: 4 kB / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2103, allocations: 0 / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.2105, allocations: 161.5 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.2105, allocations: 128 / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.2105, allocations: 15.94 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.2105, allocations: 4 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.2105, allocations: 0 / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2106, allocations: 0 / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2106, allocations: 0 / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.2107, allocations: 148 kB / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.2107, allocations: 81.09 kB / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.2107, allocations: 0 / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.08e-05/0.2108, allocations: 8 kB / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.2108, allocations: 0 / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.2108, allocations: 0 / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.2109, allocations: 91.25 kB / 0.7884 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2109, allocations: 0 / 0.7884 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002471/0.2111, allocations: 19.98 kB / 0.7884 GB, free: 7.906 MB / 0.6075 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004159/0.2115, allocations: 0.7045 MB / 0.7891 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.2117, allocations: 35.86 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2117, allocations: 0 / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.847e-05/0.2117, allocations: 8 kB / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.2119, allocations: 6.438 kB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.2123, allocations: 156.2 kB / 0.7893 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.2126, allocations: 0.6807 MB / 0.79 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.2126, allocations: 7.984 kB / 0.79 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.2126, allocations: 11.44 kB / 0.79 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2126, allocations: 0 / 0.79 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.2291, allocations: 1.376 MB / 0.7914 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.753, allocations: 14.69 kB / 0.7914 GB, free: 4.941 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)