Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 105.4 kB / 15.7 MB, free: 24 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.001176/0.001176, allocations: 199.1 kB / 16.64 MB, free: 6.453 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.411/1.411, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.78/1.78, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001443/0.001443, allocations: 62.41 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2191, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002391/0.2215, allocations: 1.286 MB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009586/0.2225, allocations: 0.6071 MB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.2226, allocations: 4 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.2226, allocations: 3.938 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.227e-05/0.2226, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.2232, allocations: 147.4 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.27e-05/0.2232, allocations: 19.91 kB / 0.7857 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.2233, allocations: 7.938 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.2233, allocations: 15.88 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.2234, allocations: 7.984 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.2234, allocations: 0 / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004807/0.2239, allocations: 343.4 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.2239, allocations: 3.938 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.2239, allocations: 8 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.2242, allocations: 147.9 kB / 0.7862 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2242, allocations: 3.984 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2242, allocations: 4 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2242, allocations: 0 / 0.7862 GB, free: 10.66 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004467/0.2247, allocations: 367.3 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2247, allocations: 12.03 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.2248, allocations: 30.75 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.2248, allocations: 0.9375 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.2249, allocations: 172.3 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2249, allocations: 4.375 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.225, allocations: 4.375 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.2251, allocations: 42.25 kB / 0.7868 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2251, allocations: 7.922 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.2251, allocations: 0 / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.2251, allocations: 4 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.747e-05/0.2252, allocations: 4 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.2253, allocations: 157.7 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.2255, allocations: 46.55 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.2256, allocations: 20.94 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2256, allocations: 4 kB / 0.787 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2256, allocations: 30.56 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2256, allocations: 0 / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006117/0.2262, allocations: 310.1 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.2263, allocations: 55.41 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/0.2264, allocations: 101.8 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.2264, allocations: 29.7 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.2264, allocations: 80.14 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.2265, allocations: 19.66 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.2265, allocations: 25.7 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2266, allocations: 310.8 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.706e-05/0.2267, allocations: 15.98 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.2267, allocations: 15.92 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.532e-05/0.2268, allocations: 37 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2268, allocations: 0 / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.791e-05/0.2269, allocations: 69.62 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2269, allocations: 4 kB / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2269, allocations: 0 / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2269, allocations: 4 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.227, allocations: 15.92 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.227, allocations: 0 / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.227, allocations: 3.938 kB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.227, allocations: 4 kB / 0.7881 GB, free: 8.41 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 (7): * Single equations (assignments): 7 * 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 9.939e-05/0.2271, allocations: 113.8 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.2271, allocations: 7.938 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.2273, allocations: 77.64 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2273, allocations: 0 / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2273, allocations: 0 / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2273, allocations: 3.938 kB / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.2276, allocations: 311.9 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2277, allocations: 0 / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/0.2277, allocations: 15.97 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.2277, allocations: 4 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2278, allocations: 7.984 kB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2278, allocations: 0 / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2278, allocations: 0 / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.228, allocations: 180.3 kB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.228, allocations: 85.08 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.228, allocations: 8.062 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.2281, allocations: 0 / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.2281, allocations: 4 kB / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.2281, allocations: 3.984 kB / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.68e-05/0.2282, allocations: 87.22 kB / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2282, allocations: 0 / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002816/0.2285, allocations: 16 kB / 0.789 GB, free: 7.387 MB / 0.6075 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 (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.0005005/0.229, allocations: 0.7405 MB / 0.7897 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.2291, allocations: 36.17 kB / 0.7897 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.2291, allocations: 7.938 kB / 0.7897 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.493e-05/0.2292, allocations: 12 kB / 0.7898 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.2294, allocations: 11.05 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.2307, allocations: 1.32 MB / 0.7911 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.2311, allocations: 0.6845 MB / 0.7917 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.2311, allocations: 8.062 kB / 0.7917 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.2311, allocations: 15.44 kB / 0.7917 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2312, allocations: 0 / 0.7917 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.2488, allocations: 1.616 MB / 0.7933 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.168, allocations: 6.625 kB / 0.7933 GB, free: 2.965 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)