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.67/1.67, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001133/0.001133, allocations: 179.2 kB / 371.8 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.758/1.758, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.001073/0.001073, allocations: 110.7 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003996, allocations: 15.47 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2072, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001373/0.2086, allocations: 0.9901 MB / 0.9804 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005897/0.2092, allocations: 323.2 kB / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.2093, allocations: 0 / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.2093, allocations: 0 / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.333e-05/0.2094, allocations: 7.984 kB / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.2098, allocations: 63.78 kB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.672e-05/0.2099, allocations: 11.92 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.2099, allocations: 3.984 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.21, allocations: 16 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.21, allocations: 3.984 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.21, allocations: 4 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.2103, allocations: 175.7 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.2103, allocations: 3.984 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.2103, allocations: 33.64 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2104, allocations: 56.09 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.2104, allocations: 0 / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2104, allocations: 0 / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2104, allocations: 4 kB / 0.9811 GB, free: 25.92 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.0003204/0.2108, allocations: 347.2 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2108, allocations: 12.02 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.2108, allocations: 34.56 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.2109, allocations: 0 / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.161e-05/0.211, allocations: 163 kB / 0.9817 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.211, allocations: 8 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.211, allocations: 3.938 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.956e-05/0.2111, allocations: 45.69 kB / 0.9817 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2111, allocations: 3.938 kB / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.2112, allocations: 4 kB / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2112, allocations: 0 / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.694e-05/0.2112, allocations: 7.984 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.2113, allocations: 165.7 kB / 0.9819 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.2115, allocations: 38.56 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.2115, allocations: 0 / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.2116, allocations: 38.56 kB / 0.982 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/0.2116, allocations: 0 / 0.982 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.000532/0.2121, allocations: 307.6 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.2121, allocations: 51.41 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.899e-05/0.2122, allocations: 101.8 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.577e-06/0.2122, allocations: 29.7 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.555e-05/0.2122, allocations: 80.14 kB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.2123, allocations: 23.7 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.2123, allocations: 4 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.222e-05/0.2123, allocations: 310.8 kB / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.2123, allocations: 12 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784e-05/0.2124, allocations: 11.98 kB / 0.9828 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.2124, allocations: 15.95 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.2124, allocations: 3.938 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.336e-05/0.2125, allocations: 77.52 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2125, allocations: 4 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2125, allocations: 0 / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2125, allocations: 8 kB / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.595e-05/0.2126, allocations: 8 kB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2126, allocations: 240 / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.2126, allocations: 0 / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.2126, allocations: 4 kB / 0.983 GB, free: 23.77 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 5.536e-05/0.2127, allocations: 113.8 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.2127, allocations: 7.984 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.2128, allocations: 81.45 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2128, allocations: 4 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2128, allocations: 0 / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2129, allocations: 0 / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.2131, allocations: 315.5 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2131, allocations: 8.062 kB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.2132, allocations: 8 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2132, allocations: 0 / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2132, allocations: 4 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2132, allocations: 0 / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2132, allocations: 0 / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.2134, allocations: 198 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.2134, allocations: 81.14 kB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.2134, allocations: 3.938 kB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.2135, allocations: 7.984 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.2135, allocations: 4 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2135, allocations: 8.062 kB / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.129e-05/0.2136, allocations: 75.28 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2136, allocations: 0 / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002363/0.2138, allocations: 23.98 kB / 0.9839 GB, free: 22.73 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.0003722/0.2142, allocations: 0.8149 MB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.607e-05/0.2143, allocations: 35.92 kB / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2143, allocations: 0 / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.477e-05/0.2143, allocations: 27.86 kB / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.2145, allocations: 1.531 kB / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.2151, allocations: 492.1 kB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.2153, allocations: 0.6849 MB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.2153, allocations: 8.031 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.2153, allocations: 19.42 kB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2153, allocations: 0 / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.228, allocations: 1.396 MB / 0.9872 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.2282, allocations: 235.3 kB / 0.9875 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.456/1.684, allocations: 0 / 0.9875 GB, free: 19.13 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)