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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.151/2.151, 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.001345/0.001345, allocations: 181.2 kB / 326.3 MB, free: 2.875 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.386/2.386, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009088/0.0009087, allocations: 97.83 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006153/0.0006156, allocations: 13.09 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1914, 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_DerivativeCheck): time 0.001415/0.1929, allocations: 1.009 MB / 0.9005 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.194, allocations: 0.5622 MB / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.1941, allocations: 4 kB / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.1941, allocations: 0 / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.017e-05/0.1941, allocations: 3.938 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006464/0.1948, allocations: 120.7 kB / 0.9012 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.197e-05/0.1949, allocations: 15.94 kB / 0.9012 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.1949, allocations: 7.984 kB / 0.9012 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.637e-05/0.195, allocations: 7.938 kB / 0.9012 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.071e-05/0.195, allocations: 4 kB / 0.9012 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.1951, allocations: 4 kB / 0.9012 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006317/0.1957, allocations: 339.3 kB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.1957, allocations: 3.984 kB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.1958, allocations: 33.64 kB / 0.9016 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.196, allocations: 96.11 kB / 0.9016 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.196, allocations: 3.938 kB / 0.9017 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/0.196, allocations: 4 kB / 0.9017 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.196, allocations: 0 / 0.9017 GB, free: 63.32 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.0003549/0.1964, allocations: 351.4 kB / 0.902 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1964, allocations: 12.03 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.1965, allocations: 4.938 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.198e-05/0.1966, allocations: 168.3 kB / 0.9022 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1966, allocations: 4.375 kB / 0.9022 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.1966, allocations: 4.375 kB / 0.9022 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1967, allocations: 38.25 kB / 0.9022 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1968, allocations: 192 / 0.9022 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1968, allocations: 3.938 kB / 0.9022 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1968, allocations: 4 kB / 0.9022 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.484e-05/0.1969, allocations: 7.984 kB / 0.9022 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.197, allocations: 165.6 kB / 0.9024 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.1972, allocations: 46.5 kB / 0.9024 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.1973, allocations: 12.86 kB / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1973, allocations: 4 kB / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.1973, allocations: 30.56 kB / 0.9025 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.1974, allocations: 0 / 0.9025 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006351/0.198, allocations: 318.3 kB / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/0.198, allocations: 51.41 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.297e-05/0.1981, allocations: 97.86 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.1981, allocations: 25.7 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.887e-05/0.1981, allocations: 88.12 kB / 0.903 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1982, allocations: 23.64 kB / 0.9031 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.1982, allocations: 0 / 0.9031 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.1983, allocations: 322.8 kB / 0.9034 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/0.1983, allocations: 8 kB / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.1984, allocations: 15.98 kB / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.237e-05/0.1984, allocations: 15.94 kB / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1984, allocations: 0 / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001201/0.1986, allocations: 61.69 kB / 0.9035 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1986, allocations: 11.94 kB / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1986, allocations: 0 / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1986, allocations: 0 / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/0.1987, allocations: 11.94 kB / 0.9035 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1987, allocations: 8 kB / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.1988, allocations: 0 / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1988, allocations: 3.938 kB / 0.9035 GB, free: 61.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.1989, allocations: 117.8 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.1989, allocations: 3.938 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.1991, allocations: 69.95 kB / 0.9037 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1991, allocations: 0 / 0.9037 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1991, allocations: 0 / 0.9037 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.1991, allocations: 89 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1992, allocations: 4 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.205e-05/0.1992, allocations: 8 kB / 0.9038 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.1993, allocations: 3.984 kB / 0.9038 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001841/0.1995, allocations: 144.9 kB / 0.9039 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002077/0.1997, allocations: 254.8 kB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.291e-05/0.1997, allocations: 20.08 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.313e-05/0.1998, allocations: 75.28 kB / 0.9042 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of Backend: time 6.91e-07/0.1998, allocations: 0 / 0.9042 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000624/0.2004, allocations: 166.2 kB / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004923/0.2009, allocations: 0.6586 MB / 0.905 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.004445/0.2054, allocations: 1.192 MB / 0.9062 GB, free: 58.3 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)