Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.221/2.221, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001319/0.001319, allocations: 183 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.352/2.352, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.000855/0.0008546, allocations: 90.38 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004575, allocations: 12.16 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1908, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001672/0.1925, allocations: 1.191 MB / 0.9007 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1936, allocations: 0.5767 MB / 0.9012 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.1937, allocations: 0 / 0.9012 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.1937, allocations: 15.86 kB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.477e-05/0.1938, allocations: 3.984 kB / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005989/0.1944, allocations: 129.8 kB / 0.9014 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.086e-05/0.1945, allocations: 47.84 kB / 0.9014 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.1945, allocations: 4 kB / 0.9014 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.1946, allocations: 23.92 kB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.1946, allocations: 23.84 kB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.1947, allocations: 4 kB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006121/0.1953, allocations: 335.4 kB / 0.9018 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.1953, allocations: 23.91 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.1954, allocations: 29.7 kB / 0.9018 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1956, allocations: 112.1 kB / 0.9019 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1956, allocations: 7.938 kB / 0.902 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1956, allocations: 0 / 0.902 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.1956, allocations: 0 / 0.902 GB, free: 63.01 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.0006431/0.1963, allocations: 391.3 kB / 0.9023 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1963, allocations: 8.031 kB / 0.9023 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.1964, allocations: 12.84 kB / 0.9023 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.547e-05/0.1965, allocations: 168.3 kB / 0.9025 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.1965, allocations: 8.375 kB / 0.9025 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.1966, allocations: 8.375 kB / 0.9025 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.1969, allocations: 86.2 kB / 0.9026 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1969, allocations: 192 / 0.9026 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.197, allocations: 11.94 kB / 0.9026 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.197, allocations: 3.938 kB / 0.9026 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.1974, allocations: 59.89 kB / 0.9027 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006289/0.1981, allocations: 328.7 kB / 0.903 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.1985, allocations: 86.47 kB / 0.9031 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.1988, allocations: 36.84 kB / 0.9031 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1988, allocations: 0 / 0.9031 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.1988, allocations: 34.56 kB / 0.9031 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1988, allocations: 0 / 0.9031 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.002294/0.2011, allocations: 0.6852 MB / 0.9038 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.2012, allocations: 51.41 kB / 0.9039 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.776e-05/0.2012, allocations: 101.8 kB / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.2013, allocations: 25.7 kB / 0.904 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.2013, allocations: 92.08 kB / 0.9041 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.2014, allocations: 39.45 kB / 0.9041 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.2014, allocations: 0 / 0.9041 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.2014, allocations: 326.8 kB / 0.9044 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.2017, allocations: 31.98 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.2019, allocations: 35.97 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.2022, allocations: 39.98 kB / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2022, allocations: 0 / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005224/0.2027, allocations: 131.9 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2027, allocations: 8 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2028, allocations: 0 / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2028, allocations: 4 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.203, allocations: 23.98 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2031, allocations: 4 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.2032, allocations: 11.92 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.2032, allocations: 8 kB / 0.9047 GB, free: 59.89 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 7.305e-05/0.2033, allocations: 117.8 kB / 0.9048 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.2033, allocations: 3.906 kB / 0.9048 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005819/0.2039, allocations: 145.6 kB / 0.905 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.204, allocations: 0 / 0.905 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.204, allocations: 0 / 0.905 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.204, allocations: 84.95 kB / 0.905 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.204, allocations: 0 / 0.905 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.2042, allocations: 19.98 kB / 0.9051 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.2043, allocations: 4 kB / 0.9051 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007035/0.205, allocations: 216.8 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008881/0.2059, allocations: 334.6 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002391/0.2061, allocations: 44.5 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.667e-05/0.2062, allocations: 83.28 kB / 0.9057 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of Backend: time 7.31e-07/0.2062, allocations: 0 / 0.9057 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008393/0.207, allocations: 206 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007291/0.2078, allocations: 0.7872 MB / 0.9067 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.005365/0.2132, allocations: 1.637 MB / 0.9083 GB, free: 56.16 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)