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_dp_DerivativeCheck.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_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.001522/0.001521, allocations: 170.4 kB / 325.8 MB, free: 2.703 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.739/1.739, allocations: 205 MB / 0.576 GB, free: 21 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.0007208/0.0007208, allocations: 92.53 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.000326, allocations: 8.281 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1788, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001183/0.18, allocations: 1.006 MB / 0.8972 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000851/0.1809, allocations: 0.6322 MB / 0.8978 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.1809, allocations: 0 / 0.8978 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.1809, allocations: 0 / 0.8978 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.139e-05/0.181, allocations: 7.969 kB / 0.8978 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.1815, allocations: 118.6 kB / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.202e-05/0.1815, allocations: 19.92 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.1816, allocations: 4 kB / 0.898 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.1816, allocations: 11.88 kB / 0.898 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.173e-05/0.1816, allocations: 15.97 kB / 0.898 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1817, allocations: 4 kB / 0.898 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/0.1821, allocations: 339.3 kB / 0.8983 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.1821, allocations: 3.984 kB / 0.8983 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.1821, allocations: 11.88 kB / 0.8983 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1823, allocations: 143.9 kB / 0.8985 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1823, allocations: 0 / 0.8985 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1823, allocations: 4 kB / 0.8985 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1823, allocations: 0 / 0.8985 GB, free: 65.81 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003007/0.1826, allocations: 355.5 kB / 0.8988 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1827, allocations: 8.031 kB / 0.8988 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.917e-05/0.1827, allocations: 38.69 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.1828, allocations: 0.9375 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.924e-05/0.1828, allocations: 172.2 kB / 0.899 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1829, allocations: 8.359 kB / 0.899 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.1829, allocations: 384 / 0.899 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.873e-05/0.183, allocations: 42.25 kB / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.183, allocations: 7.875 kB / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.183, allocations: 3.984 kB / 0.8991 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.183, allocations: 4 kB / 0.8991 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.33e-05/0.183, allocations: 4 kB / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.1832, allocations: 161.7 kB / 0.8992 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1833, allocations: 42.55 kB / 0.8993 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.1834, allocations: 20.94 kB / 0.8993 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.1834, allocations: 0 / 0.8993 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.1834, allocations: 38.56 kB / 0.8993 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1834, allocations: 4 kB / 0.8993 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005132/0.1839, allocations: 306.2 kB / 0.8996 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.184, allocations: 51.41 kB / 0.8997 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.231e-05/0.184, allocations: 105.8 kB / 0.8998 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.184, allocations: 25.7 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.575e-05/0.1841, allocations: 80.14 kB / 0.8999 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.1841, allocations: 27.66 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.1841, allocations: 9.719 kB / 0.8999 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.372e-05/0.1842, allocations: 322.8 kB / 0.9002 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.1842, allocations: 8 kB / 0.9002 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.919e-05/0.1842, allocations: 11.98 kB / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.925e-05/0.1843, allocations: 33.02 kB / 0.9003 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1843, allocations: 0 / 0.9003 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.458e-05/0.1844, allocations: 69.61 kB / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1844, allocations: 4 kB / 0.9003 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1844, allocations: 4 kB / 0.9003 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1844, allocations: 3.938 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.85e-05/0.1845, allocations: 15.94 kB / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1845, allocations: 0 / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.1845, allocations: 4 kB / 0.9004 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.1845, allocations: 0 / 0.9004 GB, free: 63.57 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 (7): * Single equations (assignments): 7 * 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 4.592e-05/0.1846, allocations: 113.8 kB / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.1846, allocations: 11.84 kB / 0.9005 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.1847, allocations: 81.58 kB / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1847, allocations: 0 / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1847, allocations: 0 / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1848, allocations: 0.5156 kB / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.185, allocations: 315.3 kB / 0.9009 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.185, allocations: 0 / 0.9009 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/0.1851, allocations: 15.94 kB / 0.9009 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1851, allocations: 0 / 0.9009 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1851, allocations: 0 / 0.9009 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1851, allocations: 4 kB / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1851, allocations: 4.031 kB / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.1852, allocations: 180.3 kB / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.1853, allocations: 89.3 kB / 0.9011 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1853, allocations: 3.984 kB / 0.9012 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.837e-05/0.1854, allocations: 4 kB / 0.9012 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.1854, allocations: 7.938 kB / 0.9012 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1854, allocations: 8.062 kB / 0.9012 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.05e-05/0.1854, allocations: 79.28 kB / 0.9012 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1854, allocations: 0 / 0.9012 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002255/0.1857, allocations: 23.98 kB / 0.9013 GB, free: 62.54 MB / 0.6042 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 (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.0003217/0.186, allocations: 0.7289 MB / 0.902 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.1861, allocations: 35.92 kB / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1861, allocations: 0 / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-05/0.1861, allocations: 19.98 kB / 0.902 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.1863, allocations: 8 kB / 0.902 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.1872, allocations: 1.336 MB / 0.9033 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.1873, allocations: 0.6809 MB / 0.904 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.1873, allocations: 4.297 kB / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.1874, allocations: 15.44 kB / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of SimCode: time 4.1e-07/0.1874, allocations: 0 / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1619/0.3492, allocations: 1.396 MB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.3495, allocations: 254.4 kB / 0.9056 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.094, allocations: 0 / 0.9056 GB, free: 58.12 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)