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_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 252 MB / 267 MB, free: 10.96 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.0009704/0.0009703, allocations: 178.5 kB / 326.6 MB, free: 2.211 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.676/1.676, allocations: 205.4 MB / 0.5776 GB, free: 20.24 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.0007582/0.0007582, allocations: 93.39 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002971, allocations: 9.375 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1728, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001443/0.1743, allocations: 1.191 MB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007622/0.1751, allocations: 0.5844 MB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.1752, allocations: 4 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.1752, allocations: 0 / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.1753, allocations: 11.91 kB / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.1758, allocations: 129.7 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.1759, allocations: 51.59 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.1759, allocations: 7.984 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.376e-05/0.176, allocations: 19.94 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.176, allocations: 23.91 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.176, allocations: 4 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003783/0.1764, allocations: 339.3 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.1764, allocations: 15.92 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.1765, allocations: 29.7 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1766, allocations: 116.1 kB / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1767, allocations: 0 / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1767, allocations: 0 / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.1767, allocations: 3.938 kB / 0.9028 GB, free: 61.26 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004703/0.1772, allocations: 395.2 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1772, allocations: 8.031 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.1772, allocations: 38.56 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.1773, allocations: 11.94 kB / 0.9032 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.981e-05/0.1773, allocations: 170.9 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.1774, allocations: 8 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.1774, allocations: 11.91 kB / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.1777, allocations: 85.64 kB / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1777, allocations: 3.984 kB / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1777, allocations: 4 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1777, allocations: 0 / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.178, allocations: 59.95 kB / 0.9035 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.1785, allocations: 324.6 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.1787, allocations: 90.53 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.1789, allocations: 32.84 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1789, allocations: 4.094 kB / 0.904 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.1789, allocations: 38.56 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1789, allocations: 0 / 0.904 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001444/0.1804, allocations: 0.6692 MB / 0.9046 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.1804, allocations: 55.41 kB / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.456e-05/0.1805, allocations: 101.8 kB / 0.9048 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.1805, allocations: 29.7 kB / 0.9048 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.1805, allocations: 88.08 kB / 0.9049 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.1805, allocations: 43.34 kB / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.1805, allocations: 0 / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.629e-05/0.1806, allocations: 322.8 kB / 0.9053 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1807, allocations: 35.98 kB / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.1808, allocations: 36.09 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.181, allocations: 42.61 kB / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.181, allocations: 0 / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000286/0.1813, allocations: 125.6 kB / 0.9055 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1813, allocations: 11.95 kB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1813, allocations: 320 / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1813, allocations: 0 / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1815, allocations: 27.98 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1815, allocations: 0 / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.1816, allocations: 7.984 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.1816, allocations: 11.98 kB / 0.9055 GB, free: 58.1 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 (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 5.907e-05/0.1817, allocations: 121.8 kB / 0.9057 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.1817, allocations: 7.906 kB / 0.9057 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.1821, allocations: 141.5 kB / 0.9058 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1821, allocations: 4 kB / 0.9058 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1821, allocations: 0 / 0.9058 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1821, allocations: 0 / 0.9058 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.1826, allocations: 386.4 kB / 0.9062 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1826, allocations: 0 / 0.9062 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.1827, allocations: 35.92 kB / 0.9062 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1828, allocations: 4 kB / 0.9062 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1828, allocations: 4.188 kB / 0.9062 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1828, allocations: 0 / 0.9062 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1828, allocations: 0 / 0.9062 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.1832, allocations: 271.5 kB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.1833, allocations: 81.02 kB / 0.9066 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1833, allocations: 15.98 kB / 0.9066 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1834, allocations: 7.984 kB / 0.9066 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.1834, allocations: 4 kB / 0.9066 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1834, allocations: 11.98 kB / 0.9066 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.114e-05/0.1835, allocations: 83.34 kB / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1835, allocations: 0 / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002463/0.1837, allocations: 39.94 kB / 0.9067 GB, free: 56.8 MB / 0.6042 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.0006608/0.1844, allocations: 0.8217 MB / 0.9075 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.1847, allocations: 83.95 kB / 0.9076 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1847, allocations: 4.062 kB / 0.9076 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.1849, allocations: 51.91 kB / 0.9076 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.1851, allocations: 15 kB / 0.9077 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1863, allocations: 0.7527 MB / 0.9084 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.46e-05/0.1865, allocations: 0.6926 MB / 0.9091 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.046e-05/0.1865, allocations: 20.59 kB / 0.9091 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.1866, allocations: 26.09 kB / 0.9091 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.1866, allocations: 0 / 0.9091 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.1982, allocations: 2.07 MB / 0.9111 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/0.1983, allocations: 246.9 kB / 0.9114 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/1.725, allocations: 0 / 0.9114 GB, free: 52.11 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)