Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.0009634/0.0009633, allocations: 91.53 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.715/1.715, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.0005242/0.0005242, allocations: 16.06 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2085, allocations: 116.3 MB / 0.7874 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001248/0.2098, allocations: 0.9899 MB / 0.7884 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008102/0.2106, allocations: 0.5582 MB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.616e-05/0.2106, allocations: 7.938 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.038e-05/0.2106, allocations: 0 / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.787e-05/0.2107, allocations: 0 / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.2111, allocations: 123.6 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.43e-05/0.2111, allocations: 15.94 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.2112, allocations: 7.938 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.065e-05/0.2112, allocations: 7.984 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.2113, allocations: 8 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.2113, allocations: 4 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.2117, allocations: 331.3 kB / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-06/0.2117, allocations: 3.938 kB / 0.7894 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.2118, allocations: 29.7 kB / 0.7894 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.2119, allocations: 100.1 kB / 0.7895 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.212, allocations: 0 / 0.7895 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.212, allocations: 0 / 0.7895 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.212, allocations: 4 kB / 0.7895 GB, free: 9.598 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.0003338/0.2123, allocations: 355.2 kB / 0.7899 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2123, allocations: 12.03 kB / 0.7899 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.2124, allocations: 30.56 kB / 0.7899 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.075e-05/0.2124, allocations: 4 kB / 0.7899 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.2125, allocations: 171 kB / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.2125, allocations: 3.938 kB / 0.7901 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.2126, allocations: 4 kB / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.806e-05/0.2127, allocations: 49.56 kB / 0.7901 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.2127, allocations: 4 kB / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-06/0.2127, allocations: 0 / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.2127, allocations: 0 / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.2127, allocations: 12 kB / 0.7902 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.2129, allocations: 161.6 kB / 0.7903 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.2131, allocations: 42.61 kB / 0.7904 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.2131, allocations: 20.94 kB / 0.7904 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.2131, allocations: 0 / 0.7904 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.2132, allocations: 34.5 kB / 0.7904 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2132, allocations: 4 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005144/0.2137, allocations: 310.2 kB / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.2137, allocations: 55.41 kB / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.152e-05/0.2138, allocations: 97.84 kB / 0.7908 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.2138, allocations: 29.7 kB / 0.7909 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.2138, allocations: 80.14 kB / 0.791 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.2139, allocations: 23.69 kB / 0.791 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.2139, allocations: 4 kB / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.214, allocations: 318.8 kB / 0.7913 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.214, allocations: 12 kB / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.214, allocations: 11.98 kB / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.82e-05/0.2141, allocations: 12 kB / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.2141, allocations: 0 / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.146e-05/0.2142, allocations: 69.53 kB / 0.7914 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.2142, allocations: 6.969 kB / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.2142, allocations: 0 / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.2142, allocations: 0.5156 kB / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.97e-05/0.2143, allocations: 16 kB / 0.7914 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.2143, allocations: 0 / 0.7914 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.2143, allocations: 4 kB / 0.7914 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.2143, allocations: 0 / 0.7914 GB, free: 7.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.116e-05/0.2144, allocations: 114.5 kB / 0.7915 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.2144, allocations: 3.984 kB / 0.7915 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.2145, allocations: 81.53 kB / 0.7916 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2145, allocations: 7.922 kB / 0.7916 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2146, allocations: 4 kB / 0.7916 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2146, allocations: 0 / 0.7916 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.2149, allocations: 315.4 kB / 0.7919 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2149, allocations: 3.984 kB / 0.7919 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.2149, allocations: 12 kB / 0.7919 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2149, allocations: 3.938 kB / 0.7919 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.215, allocations: 0 / 0.7919 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.215, allocations: 4 kB / 0.7919 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.215, allocations: 0 / 0.7919 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.2151, allocations: 192.4 kB / 0.7921 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.2152, allocations: 81.14 kB / 0.7922 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.2152, allocations: 4 kB / 0.7922 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.2153, allocations: 3.984 kB / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.2153, allocations: 4 kB / 0.7922 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2153, allocations: 0 / 0.7922 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.826e-05/0.2154, allocations: 83.34 kB / 0.7923 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2154, allocations: 0 / 0.7923 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002343/0.2156, allocations: 24 kB / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0004342/0.216, allocations: 0.7288 MB / 0.793 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.396e-05/0.2161, allocations: 36.05 kB / 0.7931 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2161, allocations: 4 kB / 0.7931 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-05/0.2162, allocations: 19.92 kB / 0.7931 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.2164, allocations: 8 kB / 0.7931 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006775/0.2171, allocations: 491.6 kB / 0.7936 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.2173, allocations: 0.6809 MB / 0.7942 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.2174, allocations: 12.44 kB / 0.7942 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.2174, allocations: 11.44 kB / 0.7942 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2174, allocations: 0 / 0.7942 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01052/0.2279, allocations: 1.367 MB / 0.7956 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.2281, allocations: 223.6 kB / 0.7958 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/1.923, allocations: 4 kB / 0.7958 GB, free: 2.879 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: