Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 192.1 kB / 16.13 MB, free: 6.715 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.369/1.369, allocations: 205.1 MB / 222 MB, free: 5.008 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.675/1.675, allocations: 292.3 MB / 0.5484 GB, free: 13.71 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.001384/0.001384, allocations: 65.72 kB / 0.6709 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1979, allocations: 114.5 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002174/0.2002, allocations: 1.325 MB / 0.7841 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000871/0.201, allocations: 0.6084 MB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.204e-05/0.2011, allocations: 0 / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.2011, allocations: 0 / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.485e-05/0.2011, allocations: 3.938 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.2015, allocations: 115.6 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.237e-05/0.2016, allocations: 11.92 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.205e-05/0.2016, allocations: 0 / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.814e-05/0.2016, allocations: 15.92 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.316e-05/0.2017, allocations: 4 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.2017, allocations: 0 / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.2021, allocations: 343.3 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.634e-06/0.2021, allocations: 0 / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.2022, allocations: 11.91 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.2024, allocations: 136 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2024, allocations: 0 / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2024, allocations: 0 / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.776e-06/0.2024, allocations: 0 / 0.7853 GB, free: 11.38 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003262/0.2027, allocations: 363.3 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2028, allocations: 12.03 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.2028, allocations: 34.69 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.875e-05/0.2028, allocations: 0.9375 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.246e-05/0.2029, allocations: 160.4 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.2029, allocations: 384 / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-06/0.2029, allocations: 4.375 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.336e-05/0.203, allocations: 34.25 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.203, allocations: 3.938 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.203, allocations: 4 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2031, allocations: 0 / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.324e-05/0.2031, allocations: 8 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.2032, allocations: 145.7 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.799e-05/0.2033, allocations: 30.55 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.2033, allocations: 8.859 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.2033, allocations: 0 / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.2033, allocations: 38.62 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.2033, allocations: 0 / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000113/0.2035, allocations: 49.56 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.2035, allocations: 51.41 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/0.2036, allocations: 93.86 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.2036, allocations: 25.7 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.469e-05/0.2036, allocations: 84.39 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.2036, allocations: 7.906 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.2037, allocations: 17.7 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.2037, allocations: 310.8 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.2038, allocations: 8 kB / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-06/0.2038, allocations: 0 / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.2038, allocations: 12.86 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2038, allocations: 0 / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.709e-05/0.2039, allocations: 49.69 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2039, allocations: 7.938 kB / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-06/0.2039, allocations: 0 / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.2039, allocations: 0 / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.2041, allocations: 8 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003029/0.2044, allocations: 0.586 MB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.2044, allocations: 3.906 kB / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2044, allocations: 4.156 kB / 0.7874 GB, free: 8.988 MB / 0.6075 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/0.2045, allocations: 113.8 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-06/0.2045, allocations: 0 / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-05/0.2046, allocations: 48.75 kB / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2046, allocations: 0 / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.2046, allocations: 7.938 kB / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2046, allocations: 0 / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.569e-05/0.2047, allocations: 153.6 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2047, allocations: 4.031 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.705e-05/0.2048, allocations: 8 kB / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2048, allocations: 4 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.2048, allocations: 0 / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002582/0.2051, allocations: 0.586 MB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2051, allocations: 3.938 kB / 0.7883 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.447e-05/0.2052, allocations: 65.25 kB / 0.7883 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.2052, allocations: 77.11 kB / 0.7884 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.2052, allocations: 7.984 kB / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.588e-05/0.2052, allocations: 4 kB / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.2052, allocations: 3.938 kB / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.2053, allocations: 0 / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.726e-05/0.2053, allocations: 79.28 kB / 0.7885 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2053, allocations: 0 / 0.7885 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001878/0.2055, allocations: 20.06 kB / 0.7885 GB, free: 7.684 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003363/0.2058, allocations: 0.6084 MB / 0.7891 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.206, allocations: 19.98 kB / 0.7891 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.206, allocations: 4.094 kB / 0.7891 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.2061, allocations: 12 kB / 0.7891 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.2062, allocations: 3.938 kB / 0.7892 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.2066, allocations: 146 kB / 0.7893 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.2068, allocations: 0.677 MB / 0.79 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.605e-05/0.2068, allocations: 4.062 kB / 0.79 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.2068, allocations: 7.438 kB / 0.79 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2068, allocations: 0 / 0.79 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.2177, allocations: 1.229 MB / 0.7912 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.218, allocations: 266.9 kB / 0.7914 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.037, allocations: 0 / 0.7914 GB, free: 4.73 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)