Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.001151/0.001151, allocations: 109.4 kB / 15.69 MB, free: 128 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.001141/0.001141, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.354/1.354, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.726/1.726, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001476/0.001476, allocations: 72.8 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2058, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002879/0.2088, allocations: 1.48 MB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.21, allocations: 0.6237 MB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.2101, allocations: 0 / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.2101, allocations: 7.922 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.2102, allocations: 7.922 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006676/0.2109, allocations: 159.3 kB / 0.7859 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.893e-05/0.211, allocations: 51.84 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.211, allocations: 8 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.856e-05/0.2111, allocations: 23.92 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.663e-05/0.2112, allocations: 23.91 kB / 0.786 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.2112, allocations: 4 kB / 0.786 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005681/0.2118, allocations: 343.3 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.2118, allocations: 23.91 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.2118, allocations: 19.92 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.2121, allocations: 179.8 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2122, allocations: 0 / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2122, allocations: 0 / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2122, allocations: 0 / 0.7865 GB, free: 10.33 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006364/0.2128, allocations: 399.3 kB / 0.7869 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2129, allocations: 11.97 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.2129, allocations: 38.75 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.213, allocations: 8.844 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.2131, allocations: 172.2 kB / 0.7871 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.2131, allocations: 8.375 kB / 0.7871 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.2132, allocations: 4.375 kB / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.2134, allocations: 90.22 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.2134, allocations: 7.844 kB / 0.7872 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2134, allocations: 0 / 0.7872 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2135, allocations: 0 / 0.7872 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.2137, allocations: 48.95 kB / 0.7873 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.2143, allocations: 324.6 kB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.2146, allocations: 82.53 kB / 0.7877 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.2148, allocations: 24.84 kB / 0.7877 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.2148, allocations: 7.938 kB / 0.7877 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.2148, allocations: 38.55 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 3.256e-06/0.2148, allocations: 7.984 kB / 0.7877 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.00172/0.2166, allocations: 0.6423 MB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.2166, allocations: 59.41 kB / 0.7884 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.031e-05/0.2167, allocations: 101.8 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.2167, allocations: 25.7 kB / 0.7885 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.2168, allocations: 92.12 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.2168, allocations: 31.47 kB / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.2169, allocations: 29.7 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.217, allocations: 318.8 kB / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.2171, allocations: 31.98 kB / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.2173, allocations: 35.97 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.2175, allocations: 74.52 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2175, allocations: 0 / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003316/0.2179, allocations: 117.7 kB / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2179, allocations: 4.094 kB / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2179, allocations: 7.938 kB / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2179, allocations: 4 kB / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.2181, allocations: 27.98 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.2181, allocations: 3.938 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.068e-05/0.2182, allocations: 11.92 kB / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.2182, allocations: 4 kB / 0.7893 GB, free: 7.16 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 (13): * Single equations (assignments): 13 * 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.384e-05/0.2183, allocations: 117.7 kB / 0.7894 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.2184, allocations: 7.906 kB / 0.7894 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.2188, allocations: 133.6 kB / 0.7895 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2188, allocations: 0 / 0.7895 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2188, allocations: 3.938 kB / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2188, allocations: 0 / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/0.2194, allocations: 386.4 kB / 0.7899 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2195, allocations: 0 / 0.7899 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.2196, allocations: 31.97 kB / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2196, allocations: 7.938 kB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.2197, allocations: 4 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2197, allocations: 0 / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2197, allocations: 0 / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.2202, allocations: 254.8 kB / 0.7902 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.2203, allocations: 77.11 kB / 0.7903 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.2203, allocations: 12.03 kB / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.2204, allocations: 11.98 kB / 0.7903 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.2205, allocations: 4 kB / 0.7903 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.2205, allocations: 3.984 kB / 0.7903 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.103e-05/0.2205, allocations: 83.28 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2205, allocations: 0 / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002974/0.2208, allocations: 36 kB / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0008962/0.2217, allocations: 0.8218 MB / 0.7912 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004071/0.2222, allocations: 83.89 kB / 0.7913 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2222, allocations: 3.938 kB / 0.7913 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.2223, allocations: 48.03 kB / 0.7913 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.2227, allocations: 10.84 kB / 0.7914 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.2248, allocations: 1.603 MB / 0.7929 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.2251, allocations: 0.6963 MB / 0.7936 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.024e-05/0.2252, allocations: 8.656 kB / 0.7936 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.2252, allocations: 23.44 kB / 0.7936 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.2252, allocations: 0 / 0.7936 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.2452, allocations: 2.314 MB / 0.7959 GB, free: 344 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.197, allocations: 10.92 kB / 0.7959 GB, free: 336 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)