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_dp_DerivativeCheck.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_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.591/1.591, allocations: 288.4 MB / 303.3 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.0009918/0.0009919, allocations: 180.4 kB / 372 MB, free: 10.27 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.333/1.333, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0007392/0.0007392, allocations: 97.16 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004127, allocations: 11.72 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1756, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001097/0.1767, allocations: 0.9901 MB / 0.9806 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007133/0.1774, allocations: 0.558 MB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.1775, allocations: 0 / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.1775, allocations: 3.984 kB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.049e-05/0.1775, allocations: 7.938 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.178, allocations: 121.7 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.008e-05/0.1781, allocations: 27.91 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.504e-05/0.1781, allocations: 0 / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.1781, allocations: 4 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.1782, allocations: 15.92 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1782, allocations: 0 / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.1786, allocations: 335.3 kB / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.636e-06/0.1786, allocations: 0 / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.1786, allocations: 29.7 kB / 0.9817 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1788, allocations: 104.1 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1788, allocations: 0 / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1788, allocations: 0 / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1789, allocations: 4 kB / 0.9818 GB, free: 25.37 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003242/0.1792, allocations: 355.2 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1792, allocations: 16.02 kB / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.1793, allocations: 30.56 kB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.1793, allocations: 0 / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.365e-05/0.1794, allocations: 167 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1794, allocations: 11.92 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1794, allocations: 4 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1795, allocations: 41.69 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1796, allocations: 0 / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1796, allocations: 4 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1796, allocations: 3.938 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.921e-05/0.1796, allocations: 12 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1798, allocations: 157.6 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.18, allocations: 46.55 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.18, allocations: 24.94 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.1801, allocations: 0 / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.1801, allocations: 34.56 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1801, allocations: 0 / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005653/0.1807, allocations: 302.2 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.1807, allocations: 51.41 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.697e-05/0.1807, allocations: 97.84 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.1808, allocations: 33.7 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.047e-05/0.1808, allocations: 84.08 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.1808, allocations: 15.72 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/0.1808, allocations: 4 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.981e-05/0.1809, allocations: 318.8 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.224e-05/0.1809, allocations: 12 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.015e-05/0.1809, allocations: 19.92 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/0.181, allocations: 11.98 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.181, allocations: 0 / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.275e-05/0.1811, allocations: 65.61 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1811, allocations: 4 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1811, allocations: 0 / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1811, allocations: 7.984 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.1812, allocations: 12 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1812, allocations: 0 / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.1812, allocations: 0 / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1812, allocations: 4 kB / 0.9836 GB, free: 23.18 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 (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.029e-05/0.1813, allocations: 117.7 kB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-06/0.1813, allocations: 8.516 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.1814, allocations: 73.81 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1814, allocations: 0 / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1814, allocations: 0 / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1814, allocations: 3.984 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.1817, allocations: 311.4 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1817, allocations: 4.188 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/0.1818, allocations: 19.92 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1818, allocations: 4.031 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.1818, allocations: 4 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1818, allocations: 3.984 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1818, allocations: 0 / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.1819, allocations: 184.2 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.182, allocations: 85.14 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.182, allocations: 0 / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.1821, allocations: 8.062 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.1821, allocations: 3.984 kB / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1821, allocations: 4 kB / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.786e-05/0.1821, allocations: 79.28 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1821, allocations: 0 / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002305/0.1824, allocations: 20 kB / 0.9845 GB, free: 22.16 MB / 0.6198 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.0003326/0.1827, allocations: 0.7444 MB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.856e-05/0.1828, allocations: 27.98 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1828, allocations: 3.938 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.337e-05/0.1828, allocations: 19.94 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.1831, allocations: 7.047 kB / 0.9853 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.1837, allocations: 499.9 kB / 0.9858 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.1838, allocations: 0.6809 MB / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.103e-05/0.1839, allocations: 4 kB / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.1839, allocations: 13.41 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1839, allocations: 0 / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01031/0.1942, allocations: 1.395 MB / 0.9878 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001205/0.1944, allocations: 235.3 kB / 0.9881 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/1.737, allocations: 0 / 0.9881 GB, free: 18.65 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)