Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 187.2 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008352/0.0008353, allocations: 90.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003694, allocations: 11.19 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.202, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001262/0.2033, allocations: 1.001 MB / 0.9011 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004966/0.2038, allocations: 316.5 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.2038, allocations: 0 / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.2039, allocations: 3.938 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.2039, allocations: 7.984 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.2042, allocations: 59.78 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.33e-05/0.2043, allocations: 15.98 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.2043, allocations: 3.984 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.2044, allocations: 19.92 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.2044, allocations: 4 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.2044, allocations: 4 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.2047, allocations: 179.7 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.2047, allocations: 0 / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.2047, allocations: 29.64 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.2048, allocations: 52.22 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2048, allocations: 0 / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.572e-06/0.2048, allocations: 0 / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2049, allocations: 4 kB / 0.9018 GB, free: 62.18 MB / 0.6042 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.0003126/0.2052, allocations: 339.3 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.2052, allocations: 8.031 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.2053, allocations: 42.55 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.2053, allocations: 0 / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.526e-05/0.2054, allocations: 163 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.2054, allocations: 7.938 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.2054, allocations: 7.891 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.2055, allocations: 41.69 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.2056, allocations: 0 / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.2056, allocations: 0 / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2056, allocations: 4 kB / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/0.2056, allocations: 19.92 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.2057, allocations: 161.7 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.2059, allocations: 42.56 kB / 0.9026 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.2059, allocations: 0 / 0.9026 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.206, allocations: 34.56 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.206, allocations: 4 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005162/0.2065, allocations: 306.2 kB / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.2065, allocations: 51.41 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.649e-05/0.2066, allocations: 101.8 kB / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.2066, allocations: 25.7 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.035e-05/0.2066, allocations: 80.14 kB / 0.9032 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.2066, allocations: 28.45 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.2067, allocations: 4 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.755e-05/0.2067, allocations: 322.8 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.2067, allocations: 12 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.2068, allocations: 8 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.2068, allocations: 16 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2068, allocations: 3.984 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.565e-05/0.2069, allocations: 57.7 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2069, allocations: 10.28 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2069, allocations: 0 / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2069, allocations: 7.984 kB / 0.9036 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.521e-05/0.207, allocations: 12 kB / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.207, allocations: 0 / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.207, allocations: 0 / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.207, allocations: 4 kB / 0.9036 GB, free: 60.02 MB / 0.6042 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.153e-05/0.2071, allocations: 113.8 kB / 0.9037 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.447e-06/0.2071, allocations: 4 kB / 0.9037 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.2072, allocations: 77.72 kB / 0.9038 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2072, allocations: 0 / 0.9038 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2072, allocations: 8.453 kB / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.2073, allocations: 0 / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.2075, allocations: 315.4 kB / 0.9041 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2075, allocations: 4 kB / 0.9041 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.523e-05/0.2076, allocations: 15.92 kB / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2076, allocations: 0 / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.2076, allocations: 4 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2076, allocations: 3.984 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2076, allocations: 0 / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.2078, allocations: 198.3 kB / 0.9043 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.2078, allocations: 85.05 kB / 0.9044 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.2078, allocations: 7.938 kB / 0.9044 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.2079, allocations: 4 kB / 0.9044 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.2079, allocations: 7.922 kB / 0.9044 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.2079, allocations: 4 kB / 0.9044 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.045e-05/0.2079, allocations: 83.3 kB / 0.9045 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.208, allocations: 0 / 0.9045 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002315/0.2082, allocations: 20 kB / 0.9045 GB, free: 58.96 MB / 0.6042 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.000349/0.2085, allocations: 0.8121 MB / 0.9053 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.523e-05/0.2086, allocations: 31.92 kB / 0.9054 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2086, allocations: 0 / 0.9054 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.2087, allocations: 19.94 kB / 0.9054 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.2088, allocations: 3.953 kB / 0.9054 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006029/0.2094, allocations: 0.4917 MB / 0.9059 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.2096, allocations: 0.6849 MB / 0.9065 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.075e-05/0.2096, allocations: 4 kB / 0.9065 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.2096, allocations: 11.44 kB / 0.9066 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2097, allocations: 0 / 0.9066 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01113/0.2208, allocations: 1.396 MB / 0.9079 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.221, allocations: 233.3 kB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/1.813, allocations: 0 / 0.9081 GB, free: 55.38 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)