Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.692/1.692, allocations: 288.4 MB / 303.3 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009701/0.0009701, allocations: 176.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.4 MB / 0.6307 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007269/0.0007269, allocations: 82.38 kB / 0.744 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 11.22 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2166, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001109/0.2177, allocations: 0.9941 MB / 0.9806 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007266/0.2185, allocations: 0.5463 MB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.2185, allocations: 4 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.151e-05/0.2185, allocations: 0 / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.2186, allocations: 7.922 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.219, allocations: 121.6 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.489e-05/0.2191, allocations: 27.8 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.2191, allocations: 0 / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.847e-05/0.2191, allocations: 7.984 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.2192, allocations: 11.92 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.2192, allocations: 0 / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.2196, allocations: 339.3 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.2196, allocations: 3.984 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.2196, allocations: 25.7 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.2198, allocations: 100.1 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2198, allocations: 0 / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2199, allocations: 4 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.2199, allocations: 0 / 0.9818 GB, free: 25.35 MB / 0.6198 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.0003357/0.2202, allocations: 355.2 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2202, allocations: 8.031 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.2203, allocations: 34.56 kB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.03e-05/0.2203, allocations: 0 / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.014e-05/0.2204, allocations: 179 kB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.2204, allocations: 0 / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.2204, allocations: 4 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.622e-05/0.2205, allocations: 45.67 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.2205, allocations: 0 / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.2206, allocations: 0 / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2206, allocations: 4 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.326e-05/0.2206, allocations: 12 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.2209, allocations: 260.9 kB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.2211, allocations: 54.55 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.2211, allocations: 12.86 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.2211, allocations: 4 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.2e-05/0.2211, allocations: 34.56 kB / 0.9827 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2211, allocations: 0 / 0.9827 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001433/0.2213, allocations: 49.69 kB / 0.9828 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.2213, allocations: 59.34 kB / 0.9828 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.733e-05/0.2214, allocations: 105.8 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.2214, allocations: 25.7 kB / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.549e-05/0.2214, allocations: 87.98 kB / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.698e-06/0.2214, allocations: 11.81 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.2214, allocations: 0 / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.738e-05/0.2215, allocations: 322.8 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.2215, allocations: 8 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.2215, allocations: 13.72 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.36e-05/0.2216, allocations: 19.94 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2216, allocations: 0 / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.339e-05/0.2217, allocations: 57.62 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2217, allocations: 4 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2217, allocations: 7.984 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2217, allocations: 0 / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.2218, allocations: 8 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2218, allocations: 0 / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.2218, allocations: 0 / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2218, allocations: 8.031 kB / 0.9835 GB, free: 23.36 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.2219, allocations: 113.8 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.2219, allocations: 0 / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.222, allocations: 69.44 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.222, allocations: 0 / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.222, allocations: 0 / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.222, allocations: 4 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.2221, allocations: 161.6 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2222, allocations: 4.047 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.2222, allocations: 7.984 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2222, allocations: 4 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.2222, allocations: 3.938 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2222, allocations: 0 / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2222, allocations: 128 / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.796e-05/0.2223, allocations: 159.4 kB / 0.984 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.2223, allocations: 77.11 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.2223, allocations: 4 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.84e-05/0.2224, allocations: 0 / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.2224, allocations: 8 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.2224, allocations: 0 / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.722e-05/0.2224, allocations: 79.28 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2225, allocations: 0 / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002334/0.2227, allocations: 15.98 kB / 0.9842 GB, free: 22.56 MB / 0.6198 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 (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.0002749/0.223, allocations: 0.7084 MB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.848e-05/0.2231, allocations: 23.98 kB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2231, allocations: 0 / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/0.2231, allocations: 8 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.2233, allocations: 4 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.2237, allocations: 174.2 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.921e-05/0.2238, allocations: 0.6809 MB / 0.9857 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.2238, allocations: 7.938 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.2238, allocations: 7.438 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/0.2239, allocations: 4 kB / 0.9857 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.2349, allocations: 1.205 MB / 0.9869 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001367/0.2351, allocations: 227.2 kB / 0.9871 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/1.711, allocations: 3.938 kB / 0.9871 GB, free: 19.59 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)