Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.791/1.791, allocations: 288.4 MB / 303.3 MB, free: 8.258 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.001537/0.001537, allocations: 188.5 kB / 372 MB, free: 10.28 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.327/1.327, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007225/0.0007226, allocations: 89.02 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003905, allocations: 12.5 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1964, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001191/0.1977, allocations: 0.9915 MB / 0.9806 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.1984, allocations: 0.5658 MB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.1985, allocations: 0 / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.1985, allocations: 0 / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.788e-05/0.1985, allocations: 7.875 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.199, allocations: 119.6 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.525e-05/0.1991, allocations: 23.92 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.1992, allocations: 0 / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.674e-05/0.1992, allocations: 11.92 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.1993, allocations: 8 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1993, allocations: 4 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.1997, allocations: 339.2 kB / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.086e-06/0.1997, allocations: 4 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.1997, allocations: 29.7 kB / 0.9817 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1999, allocations: 96.09 kB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1999, allocations: 0 / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1999, allocations: 4 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.1999, allocations: 0 / 0.9818 GB, free: 25.37 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003137/0.2003, allocations: 364.2 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2003, allocations: 12.02 kB / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.456e-05/0.2003, allocations: 30.56 kB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.2004, allocations: 7.984 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.645e-05/0.2004, allocations: 163 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.2005, allocations: 0 / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.2005, allocations: 8 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.2e-05/0.2006, allocations: 41.69 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2006, allocations: 3.984 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.2006, allocations: 0 / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2006, allocations: 7.938 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.657e-05/0.2007, allocations: 7.938 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.2008, allocations: 161.6 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.201, allocations: 42.61 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.201, allocations: 24.94 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.201, allocations: 0 / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.201, allocations: 30.56 kB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2011, allocations: 0 / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005215/0.2016, allocations: 310.2 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.2016, allocations: 59.33 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.831e-05/0.2017, allocations: 97.86 kB / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.2017, allocations: 33.7 kB / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.373e-05/0.2017, allocations: 80.14 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.2017, allocations: 23.7 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.2017, allocations: 0 / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.311e-05/0.2018, allocations: 318.8 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.2018, allocations: 8 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/0.2018, allocations: 19.97 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.2019, allocations: 12 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2019, allocations: 4 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.154e-05/0.202, allocations: 65.59 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.202, allocations: 7.938 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.202, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.202, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.109e-05/0.2021, allocations: 15.94 kB / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2021, allocations: 4 kB / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.2021, allocations: 0 / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.2021, allocations: 0 / 0.9837 GB, free: 23.18 MB / 0.6198 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 (7): * Single equations (assignments): 7 * 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.927e-05/0.2022, allocations: 123.3 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-06/0.2022, allocations: 4 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.2023, allocations: 69.59 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2023, allocations: 4 kB / 0.9839 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2023, allocations: 0 / 0.9839 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2023, allocations: 3.938 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.2026, allocations: 311.4 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2026, allocations: 0 / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.2026, allocations: 20.39 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2027, allocations: 4.031 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.2027, allocations: 0 / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2027, allocations: 0 / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2027, allocations: 4 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.2028, allocations: 180.2 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.2029, allocations: 81.11 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.2029, allocations: 12.25 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.203, allocations: 8.062 kB / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.203, allocations: 4 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.203, allocations: 0 / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.967e-05/0.203, allocations: 87.22 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.203, allocations: 0 / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002231/0.2033, allocations: 23.98 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * 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.0003184/0.2036, allocations: 0.7328 MB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.711e-05/0.2037, allocations: 31.92 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2037, allocations: 0 / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.359e-05/0.2037, allocations: 19.98 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.2039, allocations: 8 kB / 0.9853 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.2046, allocations: 0.4901 MB / 0.9858 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.819e-05/0.2047, allocations: 0.6809 MB / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.2047, allocations: 4 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.2047, allocations: 7.438 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2048, allocations: 0 / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01106/0.2158, allocations: 1.41 MB / 0.9879 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001341/0.216, allocations: 242.6 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/1.818, allocations: 3.094 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)