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_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.663/1.663, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001187/0.001187, allocations: 173.9 kB / 371.8 MB, free: 10.25 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.681/1.681, allocations: 205.4 MB / 0.6305 GB, free: 9.961 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.000957/0.0009565, allocations: 105.2 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003717, allocations: 10.94 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2039, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001407/0.2053, allocations: 1.171 MB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005221/0.2059, allocations: 344.1 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.2059, allocations: 0 / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.2059, allocations: 7.938 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.469e-05/0.206, allocations: 3.984 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.2063, allocations: 79.7 kB / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.624e-05/0.2064, allocations: 35.7 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.2064, allocations: 4 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.241e-05/0.2065, allocations: 19.92 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.847e-05/0.2065, allocations: 27.91 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.2065, allocations: 8 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.2067, allocations: 183.7 kB / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.2068, allocations: 11.92 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.2068, allocations: 29.7 kB / 0.9813 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.2069, allocations: 76.12 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2069, allocations: 0 / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2069, allocations: 0 / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.207, allocations: 0 / 0.9814 GB, free: 25.59 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004466/0.2074, allocations: 379.2 kB / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2074, allocations: 12.02 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.2075, allocations: 38.56 kB / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.2075, allocations: 7.906 kB / 0.9818 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.208e-05/0.2076, allocations: 178.8 kB / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.2076, allocations: 4 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.2076, allocations: 8 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.2079, allocations: 83.41 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2079, allocations: 0 / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2079, allocations: 0 / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2079, allocations: 4 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.2081, allocations: 63.95 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.2086, allocations: 328.6 kB / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.2089, allocations: 86.53 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.2089, allocations: 0 / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.2089, allocations: 42.5 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.2089, allocations: 0 / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001436/0.2104, allocations: 0.6813 MB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.2104, allocations: 51.41 kB / 0.9833 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.671e-05/0.2105, allocations: 101.8 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.2105, allocations: 29.7 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.476e-05/0.2105, allocations: 88.05 kB / 0.9835 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.2106, allocations: 35.45 kB / 0.9836 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.2106, allocations: 8 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.637e-05/0.2106, allocations: 318.8 kB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.2108, allocations: 31.98 kB / 0.9839 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.2109, allocations: 35.97 kB / 0.9839 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.211, allocations: 42.11 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.211, allocations: 4 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002797/0.2113, allocations: 129.7 kB / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2113, allocations: 7.938 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2113, allocations: 0 / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2113, allocations: 3.953 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.2115, allocations: 31.98 kB / 0.9841 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2115, allocations: 0 / 0.9841 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.2116, allocations: 7.984 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2116, allocations: 8 kB / 0.9842 GB, free: 22.47 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 (13): * Single equations (assignments): 13 * 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 6.549e-05/0.2117, allocations: 117.8 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.2117, allocations: 7.938 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000347/0.2121, allocations: 141.4 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2121, allocations: 0 / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2121, allocations: 3.953 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2121, allocations: 4 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.2126, allocations: 398.6 kB / 0.9848 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2126, allocations: 3.984 kB / 0.9848 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.2127, allocations: 23.98 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2127, allocations: 4 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.2127, allocations: 7.953 kB / 0.9848 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2128, allocations: 0 / 0.9848 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2128, allocations: 0 / 0.9848 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.2132, allocations: 259.3 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.2133, allocations: 77.11 kB / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.2133, allocations: 16.03 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.2134, allocations: 11.94 kB / 0.9852 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.2134, allocations: 7.984 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.2135, allocations: 8 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.722e-05/0.2135, allocations: 79.28 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2135, allocations: 0 / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002657/0.2138, allocations: 32 kB / 0.9853 GB, free: 21.19 MB / 0.6198 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 (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.0007076/0.2145, allocations: 0.8294 MB / 0.9861 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003001/0.2148, allocations: 95.89 kB / 0.9862 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2148, allocations: 0 / 0.9862 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.2149, allocations: 51.91 kB / 0.9863 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.2151, allocations: 13.48 kB / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.2164, allocations: 0.7474 MB / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.2165, allocations: 0.7004 MB / 0.9877 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.139e-05/0.2166, allocations: 8.672 kB / 0.9877 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.2167, allocations: 23.42 kB / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.2167, allocations: 0 / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/0.2292, allocations: 2.065 MB / 0.9897 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001292/0.2293, allocations: 238.7 kB / 0.99 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/1.786, allocations: 0 / 0.99 GB, free: 16.54 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)