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.001098/0.001098, allocations: 108 kB / 15.61 MB, free: 152 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.001124/0.001124, allocations: 194.3 kB / 16.53 MB, free: 6.66 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.38/1.38, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.68/1.68, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001405/0.001405, allocations: 76.19 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1959, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002469/0.1984, allocations: 1.489 MB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009948/0.1994, allocations: 0.6315 MB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.1994, allocations: 0 / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.1995, allocations: 7.922 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.084e-05/0.1995, allocations: 3.938 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.2001, allocations: 163.4 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.05e-05/0.2002, allocations: 51.84 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.2002, allocations: 7.984 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.331e-05/0.2003, allocations: 19.92 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.506e-05/0.2004, allocations: 23.92 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.2004, allocations: 4 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004768/0.2009, allocations: 347.3 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.2009, allocations: 15.92 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.2009, allocations: 31.84 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.2012, allocations: 171.8 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2012, allocations: 0 / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2013, allocations: 4 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.2013, allocations: 0 / 0.7864 GB, free: 10.43 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.0005727/0.2018, allocations: 399.3 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2019, allocations: 8.031 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.2019, allocations: 38.75 kB / 0.7868 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.202, allocations: 8.844 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2021, allocations: 176.2 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.2021, allocations: 4.375 kB / 0.787 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.2021, allocations: 12.38 kB / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.2024, allocations: 78.22 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.2024, allocations: 11.84 kB / 0.7871 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.2024, allocations: 4 kB / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2024, allocations: 0 / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.2027, allocations: 47.95 kB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.2032, allocations: 320.6 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.2035, allocations: 78.53 kB / 0.7875 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.2036, allocations: 32.78 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.2037, allocations: 11.94 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.2037, allocations: 30.56 kB / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.2037, allocations: 0 / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001587/0.2053, allocations: 0.6462 MB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.2053, allocations: 59.39 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/0.2054, allocations: 101.8 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.2054, allocations: 29.7 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.2055, allocations: 88.22 kB / 0.7885 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.2055, allocations: 43.39 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.2055, allocations: 29.7 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.2057, allocations: 322.8 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.2058, allocations: 27.98 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.2059, allocations: 31.97 kB / 0.7889 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.2062, allocations: 80.27 kB / 0.789 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2062, allocations: 4 kB / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003245/0.2065, allocations: 117.7 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2066, allocations: 4 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2066, allocations: 0 / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2066, allocations: 8 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.2067, allocations: 23.98 kB / 0.7891 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.2068, allocations: 3.938 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.2068, allocations: 7.984 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.2069, allocations: 11.94 kB / 0.7891 GB, free: 7.258 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.235e-05/0.207, allocations: 118.4 kB / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.207, allocations: 11.84 kB / 0.7893 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.2074, allocations: 125.6 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2074, allocations: 0 / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2074, allocations: 3.938 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.2074, allocations: 0 / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005875/0.208, allocations: 382.4 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.208, allocations: 0 / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.2082, allocations: 27.97 kB / 0.7898 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2082, allocations: 3.938 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.2082, allocations: 8 kB / 0.7898 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2082, allocations: 0 / 0.7898 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.2082, allocations: 3.938 kB / 0.7898 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.2088, allocations: 251.3 kB / 0.79 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.2088, allocations: 77.11 kB / 0.7901 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.2088, allocations: 7.969 kB / 0.7901 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.209, allocations: 7.984 kB / 0.7901 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.209, allocations: 11.94 kB / 0.7901 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.209, allocations: 3.984 kB / 0.7901 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.165e-05/0.2091, allocations: 83.34 kB / 0.7902 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2091, allocations: 0 / 0.7902 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003007/0.2094, allocations: 36 kB / 0.7903 GB, free: 6.008 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.0009331/0.2103, allocations: 0.8254 MB / 0.7911 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.2107, allocations: 88.5 kB / 0.7911 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.2107, allocations: 0 / 0.7911 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.2108, allocations: 47.91 kB / 0.7912 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.2111, allocations: 11.06 kB / 0.7912 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.2132, allocations: 1.606 MB / 0.7928 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.2135, allocations: 0.6885 MB / 0.7934 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.135e-05/0.2136, allocations: 16.66 kB / 0.7935 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.2137, allocations: 23.42 kB / 0.7935 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2137, allocations: 0 / 0.7935 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.2317, allocations: 2.284 MB / 0.7957 GB, free: 456 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.167/7.399, allocations: 12.67 kB / 0.7957 GB, free: 452 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --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)