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_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_dp_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.478/1.478, allocations: 251.5 MB / 266.7 MB, free: 10.99 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.0009262/0.0009262, allocations: 172.5 kB / 325.8 MB, free: 2.676 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.545/1.545, allocations: 205 MB / 0.576 GB, free: 20.99 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.0007244/0.0007245, allocations: 87.98 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004081, allocations: 17.48 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1835, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001288/0.1848, allocations: 1.017 MB / 0.8972 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000904/0.1857, allocations: 0.6362 MB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.1858, allocations: 0 / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.1858, allocations: 0 / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.818e-05/0.1858, allocations: 3.938 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.1864, allocations: 134.2 kB / 0.898 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.894e-05/0.1864, allocations: 27.92 kB / 0.898 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.1865, allocations: 288 / 0.898 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.443e-05/0.1865, allocations: 15.92 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.1866, allocations: 19.91 kB / 0.898 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1866, allocations: 0 / 0.898 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.187, allocations: 343.3 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.187, allocations: 7.984 kB / 0.8984 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.882e-05/0.1871, allocations: 11.94 kB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.1873, allocations: 155.6 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1873, allocations: 4 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1873, allocations: 0 / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1873, allocations: 0 / 0.8985 GB, free: 65.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000301/0.1876, allocations: 355.5 kB / 0.8989 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1876, allocations: 12.03 kB / 0.8989 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.668e-05/0.1877, allocations: 38.69 kB / 0.8989 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.1877, allocations: 4.938 kB / 0.8989 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.26e-05/0.1878, allocations: 172.3 kB / 0.8991 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.1878, allocations: 4.359 kB / 0.8991 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.1879, allocations: 8.375 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.188, allocations: 50.19 kB / 0.8991 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.188, allocations: 3.938 kB / 0.8991 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.188, allocations: 4 kB / 0.8991 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.188, allocations: 0 / 0.8991 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.338e-05/0.1881, allocations: 19.98 kB / 0.8992 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.1882, allocations: 157.7 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.388e-05/0.1883, allocations: 62.55 kB / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.1883, allocations: 32.8 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1884, allocations: 3.938 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.1884, allocations: 34.56 kB / 0.8994 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1884, allocations: 0 / 0.8994 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0009353/0.1893, allocations: 0.5918 MB / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.1894, allocations: 55.41 kB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.129e-05/0.1894, allocations: 93.84 kB / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.1894, allocations: 33.64 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.643e-05/0.1895, allocations: 88.12 kB / 0.9003 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.1895, allocations: 43.36 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.1895, allocations: 17.72 kB / 0.9003 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.1896, allocations: 318.8 kB / 0.9006 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/0.1896, allocations: 16 kB / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.1896, allocations: 23.98 kB / 0.9007 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.559e-05/0.1897, allocations: 59.23 kB / 0.9007 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.1897, allocations: 3.938 kB / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001112/0.1898, allocations: 97.61 kB / 0.9008 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1899, allocations: 4 kB / 0.9008 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1899, allocations: 4.094 kB / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1899, allocations: 7.938 kB / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.19, allocations: 19.98 kB / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.19, allocations: 0 / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.19, allocations: 4 kB / 0.9009 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.19, allocations: 4 kB / 0.9009 GB, free: 62.95 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/0.1901, allocations: 117.8 kB / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.1901, allocations: 11.84 kB / 0.901 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.1903, allocations: 105.6 kB / 0.9011 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1903, allocations: 0 / 0.9011 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1903, allocations: 4 kB / 0.9011 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1903, allocations: 0 / 0.9011 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.1906, allocations: 358.5 kB / 0.9014 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1906, allocations: 0 / 0.9014 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.474e-05/0.1907, allocations: 20 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1907, allocations: 0 / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1907, allocations: 3.984 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1908, allocations: 4 kB / 0.9015 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1908, allocations: 0 / 0.9015 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.1909, allocations: 223.6 kB / 0.9017 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.191, allocations: 77.11 kB / 0.9018 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.191, allocations: 4.031 kB / 0.9018 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.1911, allocations: 7.984 kB / 0.9018 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.1911, allocations: 4 kB / 0.9018 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1911, allocations: 4 kB / 0.9018 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.776e-05/0.1911, allocations: 83.33 kB / 0.9019 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1911, allocations: 0 / 0.9019 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000236/0.1914, allocations: 39.94 kB / 0.9019 GB, free: 61.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0004073/0.1918, allocations: 0.7904 MB / 0.9027 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.1919, allocations: 60.08 kB / 0.9027 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1919, allocations: 0 / 0.9027 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.192, allocations: 39.92 kB / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.1922, allocations: 12.8 kB / 0.9028 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.1932, allocations: 1.508 MB / 0.9042 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.1933, allocations: 0.6849 MB / 0.9049 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.181e-05/0.1934, allocations: 11.98 kB / 0.9049 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.1934, allocations: 19.42 kB / 0.9049 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.1934, allocations: 3.938 kB / 0.9049 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09901/0.2924, allocations: 1.839 MB / 0.9067 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.2926, allocations: 258.3 kB / 0.907 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.028, allocations: 0 / 0.907 GB, free: 56.65 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)